Re: [SPAM] Re: PHP to insert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



have you tried mysql_real_escape_string() or just addslashes()?

Pete wrote:
> 
> 
> In message <46A5F20A.1010206@xxxxxxxxxxxxx 
> <mailto:46A5F20A.1010206%40unisys.com.br>>, Sergio de A.Gonzalez
> <sergioag@xxxxxxxxxxxxx <mailto:sergioag%40unisys.com.br>> writes
>  >but in my field I need to insert a text and within this text there is a
>  >'#' and is returning error
> 
> 'INSERT INTO temptable SET two = "asd#asd";'
> works fine for me...
> 
> What error message are you getting?
> 
> -- 
> Pete Clark
> 
> Sunny Andalucia
> http://www.hotcosta.com/comm_1.htm <http://www.hotcosta.com/comm_1.htm>
> 
> 

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux