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

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
zenon
Forum Commoner
Posts: 42
Joined: Fri Jan 23, 2009 1:41 pm

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

Post 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!
russ72g
Forum Newbie
Posts: 8
Joined: Tue Jan 13, 2009 2:55 am

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

Post 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.
Post Reply