neomhm Posted November 11, 2009 Share Posted November 11, 2009 Hello... I tried to explain the issue in an earlier post.. but was not clear enough.... So let me try again: I think that the problem happens in Loops (while). When I add a simple html a href (link)... then the linked word goes back to the line (as a <br> would do). No idea why... tried on different websites... different servers... hell.. with different wives... still the problem follows me as a bad emoroid. <?php while ($whatever=mysql_fetch_array($youwant)){?> no idea why on earth my <a href="nowhere.html">link</a> goes back to the line when I run this script!! <?php} ?> result : no idea why on earth my link Also... if the link applies on a multiple word link.. every word goes separately to the line... example: <?php while ($whatever=mysql_fetch_array($youwant)){?> no idea why on earth my <a href="nowhere.html">link goes back</a>to the line when I run this script!! <?php} ?> resulting : no idea why on earth my link goes back to the line when I run the script. Thank you for the help... starts to really bug me!!! Quote Link to comment Share on other sites More sharing options...
trq Posted November 11, 2009 Share Posted November 11, 2009 Can you post some actual code? Within tags please. Quote Link to comment Share on other sites More sharing options...
neomhm Posted November 11, 2009 Author Share Posted November 11, 2009 1st example: <?php while ($whatever=mysql_fetch_array($youwant)){?> no idea why on earth my <a href="nowhere.html">link</a> goes back to the line when I run this script!! <?php } ?> result : no idea why on earth my link goes back to the line when I run the script!!! 2nd example : <?php while ($whatever=mysql_fetch_array($youwant)){?> no idea why on earth my <a href="nowhere.html">link goes back</a>to the line when I run this script!! <?php } ?> resulting : no idea why on earth my link goes back to the line when I run the script. thank you Quote Link to comment Share on other sites More sharing options...
gizmola Posted November 11, 2009 Share Posted November 11, 2009 I don't think you understand -- we're looking for the actual code. That is not the actual code is it? Quote Link to comment Share on other sites More sharing options...
chauffeur Posted November 11, 2009 Share Posted November 11, 2009 have you tried putting it a bit like this? print "words words words " var "words"; Quote Link to comment Share on other sites More sharing options...
neomhm Posted November 11, 2009 Author Share Posted November 11, 2009 hum i did not get that last part... can u explain? Quote Link to comment Share on other sites More sharing options...
mrMarcus Posted November 11, 2009 Share Posted November 11, 2009 can you post more relevant code please? and use real $variable names (assuming $whatever and $youwant are not real). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.