At 09:15 AM 8/28/01 +1200, you wrote:
>Hi there,
>
>I treat image data type as text, does anyone know how to insert an image
>into the table?
>
the image data type is actually a BLOB, not text. Usually, it's more
efficent to have the field be text, and just store the path to the image
(C:\my\path\to\image.gif (Win32) or /home/user/path/to/image.gif (Unix)).
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php