Try using this function on your data before inserting into the database.

http://www.php.net/manual/en/function.addslashes.php

If that doesn't work show us what error you are getting.


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 05, 2001 6:15 PM
> To: [EMAIL PROTECTED]
> Subject: Insert into blob
> 
> 
> Hi,
> 
> I am having some problems inserting data into a blob field, 
> everything works 
> fine but if I use any HTML and try to insert it, it doesn`t work. 
> So in short 
> is there something I  should be doing to allow HTML to go into a 
> text blob? I 
>  am using PHP if that helps.
> 
> TIA
> Ade
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 

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