Page 1 of 1

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

Posted: Thu Apr 03, 2008 11:00 am
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 .

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

Posted: Thu Apr 03, 2008 1:43 pm
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.

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

Posted: Thu Apr 03, 2008 4:41 pm
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

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

Posted: Thu Apr 03, 2008 4:57 pm
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".