Posted by Ron on 02/25/07 07:22
Hi all,
I use php / mysql for keeping and generating simple lists. I can't for
the life of me echo out a URL.
Here are my examples:
echo "<td class = \"aptbody\" width = 15%>";
echo stripslashes($row["location_url1"]);
echo "</td>";
This URL echoes out fine but isn't a link as there is no tag. Was
happy that it was read into my db and came out OK.
echo "<td class = \"aptbody\" width = 15%>";
echo "<a href=\""stripslashes($row["location_url2"])\"">Here's Your
Link</a>;
echo "</td>";
I've tried about 25 combinations of quotes and can see the the syntax
highlighting change. Right now I think there is an extra set of quotes
but it doesn't work either way...
Any help would be greatly appreciated,
TIA
ron
Navigation:
[Reply to this message]
|