MySQL Forums
Forum List  »  PHP

Re: Update mySQL row with PHP using sproc
Posted by: Arthur Chan
Date: June 15, 2020 01:23AM

I tried variations of real_escape_string(), it would execute the sproc based on @flag=true when I run the script on Firefox. But it would not update the value, which is what the sproc should does.


variations:

$personId = $mysqli -> real_escape_string($_REQUEST['personId']);

$personId = $mysqli_real_escape_string($_REQUEST['personId']);

Options: ReplyQuote




Sorry, only registered users may post in this forum.

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.