what is mysql_real_escape_string I go to read php.nrt but i still not understand
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_21320049.htm...
Zones:
PHPDate Answered: 02/18/2005 Grade: A Views: 0
I am more a of PHP programmer and I'm used to mysql_real_escape_string (basically escapes special character that would produce SQL errors for those who never touched PHP). Is there a similiar funct...
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_22062584.htm...
Hi,
I am trying to use mysql_real_escape_string for the first time.... I have a form and i need the data to go into a mysql db. When i execute the code below everything seems to work ok, but wh...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_22096827.htm...
Zones:
PHPDate Answered: 12/18/2006 Grade: A Views: 0
Basically im having trouble writing to a mySQL database, my host is (http://www.dreamhost.com) if that makes any difference. But basically when i try and write to and read from mySQL it simply isnt...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/PHP_Databases/...
Hi all:
I have programmed a simple form. As a general practice, I always do strip_tags() and mysql_real_escape_string() with all inputs sent to my scripts.
The script checks if all fields are...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_21303093.htm...
Zones:
PHPDate Answered: 02/05/2005 Grade: A Views: 10
Hi ,
I have a table showing text from mySql database, the data type is text.
The problem is when i insert the text in the admin page (i use a textarea field), i don't see the breaking lines whe...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_21442688.htm...
Zones:
PHPDate Answered: 06/01/2005 Grade: A Views: 0
I need to preserve the entire contents of an html page that may contains any number of reserved or special characters.
I'm having problems inserting the data into a mysql. I want to totally preser...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/PHP_Databases/...
Hi
I've got a quesiton a bit like Q_21585750.html. I've got a website where entries from textareas are saved to a MySQL database, and can later be viewed and edited.
I've got some code to re...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/PHP_Databases/...
What's wrong with this? It won't update my database:
if(isset($_POST['submit']))
{
$query1 ="UPDATE deedtable SET body='" . mysql_real_escape_string(stripslashes($_POST['body1'])) . "' ,
...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/PHP_Databases/...
Hi
I am trying to understand mysql_real_escape_string() and how to reverse its effect when extracting an escaped string from the database.
If I do mysql_real_escape_string() on a string, say "...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_22660696.htm...
Zones:
PHPDate Answered: 06/27/2007 Grade: A Views: 8