You are here: Retrieve image URL « PHP SQL « IT news, forums, messages
Retrieve image URL

Posted by Ron on 04/30/07 02:48

Hi everyone,

I have a db that I can't retrieve an image url from. I have retrieved
a url for a map link but for some reason can't make this work.

I use phpmyadmin for my data entry and store my url like
www.mysite.com/image/image.jpg

Should I do it differently? include the http://???
Here is my code to retrieve picture URL:
echo "<img src=".stripslashes($row["icon_url"]).">";

Basically have a default icon unless I save a thumbnail and put that
url in the db.

My link code that does work:
echo "<a href=
".stripslashes($row["map_url1"]).">".stripslashes($row["url_name1"])."</a>";

This gonna make me crazy!

thx for any help.

 

Navigation:

[Reply to this 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

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