Page 1 of 1

Pictures and data from a database in the same php file?

Posted: Fri Jan 23, 2009 5:00 pm
by zenon
Hello.

Is there a way to show in one php file an image from a database and below the picture, show some other attributes from the same database, like integer or varchar?

I need this in order to show in one window of browser pictures and data from the database.

I would very glad if someone help me as soon as possible!

Thank you very much!

Re: Pictures and data from a database in the same php file?

Posted: Tue Jan 27, 2009 7:51 am
by russ72g
yes, if you know how to connect to your database and retrieve a row or rows of information, you can then put this information wherever you like.