PHP Problem

Soldato
Joined
30 Nov 2005
Posts
3,084
Location
London
I'm sure its just a case of a missing or misplaced " or '.

PHP:
echo "</td><a href='name.php?first="echo $row['fname];"'> Directions</a> </tr>";

Any ideas?
 
PHP:
 echo "</td><a href='name.php?first=" . $row['fname] . "'> Directions</a> </tr>";

Should it not have another ' in there closing the fname?

So its like this ...

PHP:
 echo "</td><a href='name.php?first=" . $row['fname'] . "'> Directions</a> </tr>";

?
 
edwardcasbon1 said:
PHP:
 echo "</td><a href='name.php?first=" . $row['fname] . "'> Directions</a> </tr>";

Should it not have another ' in there closing the fname?

So its like this ...

PHP:
 echo "</td><a href='name.php?first=" . $row['fname'] . "'> Directions</a> </tr>";

?
I said that :p
 
Back
Top Bottom