MySQL Forums
Forum List  »  PHP

Re: error updating table...
Posted by: Roland Bouman
Date: July 09, 2005 01:37PM

Hi, you could use

$userinput = mysql_escape_string($userinput);
$userinput = mysqli_escape_string($userinput);

this escapes the string so it can be used in a query.

Options: ReplyQuote

Written By
July 09, 2005 08:08AM
Re: error updating table...
July 09, 2005 01:37PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.