saving images from mysql to file

2001-02-06 Thread Phillip M.(Mike) Bishop
How do I save an images to a unix file that is saved in mysql? I know how to view the image with PHP and I know how to write a file to unix. I just can't get the data from mysql into a format that will allow me to read it then write it.

Re: saving images from mysql to file

2001-02-06 Thread Phillip M.(Mike) Bishop
are trying to do but in any case check out the blob column type in the mysql manual. Also, you are probably better off storing the image on disk and only store the URL in the database. Whichever the case, good examples can usually be found at www.devshed.com - Original Message - From: \"Phil