"Sreesekhar Palaparthy" <[EMAIL PROTECTED]> wrote: > I used mysql_real_escape_string() to insert jpg image file into > database. Now how do i check whether it got stored in proper > format?? I tried to retriev that image file using > > SELECT * INTO OUTFILE <newfilename> FROM IMGTABLE; > > But it says cannot open image file as it contains errors. > > How do i retrieve the image file back????
Use SELECT .. INTO DUMPFILE: http://www.mysql.com/doc/en/SELECT.html -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]