A href problem under php


Posted on 16th Feb 2014 07:03 pm by admin

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
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

No comments posted yet

Your Answer:

Login to answer
95 Like 8 Dislike
Previous forums Next forums
Other forums

need to add "sizes" to shopping cart
Hey guys, I am trying to figure out a way to add a "size" selector on to this bit of code.

Get value from Select menu
Hi!

Have tried to find the solution on the web. Don't know if there is an easy one. A descrip

While Problem
i am having a problem with a while statement here is the code
Code: [Select]<?php
sess

Querying info from one table based on info in another
Hi, I am currently trying to make a part for my user driven website where one user can subscribe to

Pipe email to PHP - get mail adress from MySQL - send?
Hi all,

this is the challenge:

1) Our faculty at the college where I'm employed includ

Array help
Hello i got this code to fetch data from database but it is not working it displays
7
Array

show the direct link into href
I want to display link on the page. i am fetching the data(URL) from database,actually before that i

frame help
on the bottom frame is menu.html

Code: <body><form action='link.php' met

Parse Error
Hi Guys,

I have a function in my class which returns a string link variable. The problem is i

Multiple Pages
Hi. Im very new to php. I'm trying to create a basic login/registration page.

So I have a bas

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash