Hector,

Thursday, February 28, 2002, 7:51:39 PM, you wrote:

HR> Hi Everybody, I have a problem with MySQL when I try to store
HR> image file on it. I use a Blob field but the info that must be
HR> stored there should be between quotations marks right? Like a
HR> string , i mean "GIF89kjflH...... more binary symbols..." but if
HR> the image file information have a quotation in the file the info
HR> would get truncate and MySQL will not store it. My Question is How
HR> can I store a Image on MySQL, and I know that is't bettter to use
HR> a path to the image but I can't do this in that way. Any help
HR> would be great Thanks.

You have to escape some chars. You can find the list of chars to escape and escape 
sequences at:
      http://www.mysql.com/doc/S/t/String_syntax.html

HR> Hector.






-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



---------------------------------------------------------------------
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

Reply via email to