MySQL Forums
Forum List  »  PHP

Re: Update mySQL row with PHP using sproc
Posted by: Peter Brawley
Date: June 12, 2020 10:36AM

> $coyId = $_REQUEST['personId'];
> $cAddrL1 = $_REQUEST['pAddrL1'];

To prevent sql injection, run those values through mysqli_real_escape_string() before letting them in.

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.