Reply to php / mysql statement not working for URL

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация