List Info

Thread: Re: how to show image




Re: how to show image
country flaguser name
United States
2007-07-23 10:01:26

hi,

you can use following script:

$imgstr = "<img src="$imagepath.$imagefilename" width=&quot;100"; height
= "100&quot;>&quot;;

then simply echo $imgstr;

imgpath n filename will be your values stored in db.

--- In ydn-php%40yahoogroups.com">ydn-phpyahoogroups.com, "Tariq" <tariq1654...> wrote:
&gt;
> I have saved image path & filename in mysql database. But can't show
>; image. Problem is: I want to retrieve image-name from mysql & then
>; show the image from stored directory. Can anybody help me?
>

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

New business?

Get new customers.

List your web site

in Yahoo! Search.

Yahoo! Groups

Join a yoga group

and take the stress

out of your life.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )