Re: [PHP] htmlspecialchars() and MySQL

2001-09-12 Thread Alexander Skwar
So sprach »Augusto Cesar Castoldi« am 2001-09-12 um 08:52:29 -0300 : > i'm using htmlspecialchars()... Switch to addslashes() to insert the data and stripslashes() when fetching the data from the DB + htmlentities/htmlspecialchars to display the values. Alexander Skwar -- How to quote: http:/

[PHP] htmlspecialchars() and MySQL

2001-09-12 Thread Augusto Cesar Castoldi
Hi. can someone explain this to me? How can I "INSERT" with mysql_query this string: "Tsete<> "" aspas simpes '' "aspas" enter e maior e menor<>", but I can't do a SELECT after?, I receive error because the mysql can't understend the ("). i'm using htmlspecialchars()... thanks. Augusto _