PHP database - how do i extract images ????

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
jazz1
Forum Newbie
Posts: 2
Joined: Thu Apr 03, 2008 10:49 am

PHP database - how do i extract images ????

Post by jazz1 »

I have a database containing images, video etc. in a PHP database - I want to extract images
from a PHP database and dispaly on browser . How do I do this ????
I am completely new to PHP and SQL so please guide me .....

Thankyou in advance .
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PHP database - how do i extract images ????

Post by Christopher »

Just fetch the data and echo it. You will need to use the header() function first to set the file type. See the manual.
(#10850)
jazz1
Forum Newbie
Posts: 2
Joined: Thu Apr 03, 2008 10:49 am

Re: PHP database - how do i extract images ????

Post by jazz1 »

could you please guide me - I dont have a manual is the header a standard function ????
i have very limited knaowledge - but if you guide me I'm sure I'll find my way .

Thankyou
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PHP database - how do i extract images ????

Post by Christopher »

No one has paper manuals any more. Especially for things you can't buy. ;)

Manual: http://www.php.net/docs.php

It has a search, just type in "header".
(#10850)
Post Reply