> > I have created a MySQL table with a blob field and I don’t know how
> > to insert an image to it. Help me please because I am going crazy.
>

 I store in the blob not an image but the string:
 img[]=path/file.jpg&description=&var[]= etc and so on for any number of
 images and corresponding details.  Then retrive the string as $images with
a
 query as usual and use:

parse_str($images[0]); /* GIVES ARRAY $img AND $description etc */

Regards,

John

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to