MySQL Forums
Forum List  »  PHP

Re: PHP Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given in /home/vijayandclinton/public_html/wp-content/plugins/gif t-registry/php/paypal_response.php on line 25
Posted by: Clinton Farley
Date: February 13, 2018 11:27PM

Thanks Peter,

Currently the code is as below - any idea on where i'd add the additional parameter and how? I'm an amateur when it comes to coding:

wp_enqueue_script('paypal_response.js', plugins_url('gift-registry/js/paypal_response.js'), array( 'jquery' ));
$customId = mysqli_real_escape_string($_GET['customId']);

Options: ReplyQuote


Subject
Written By
Posted
Re: PHP Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given in /home/vijayandclinton/public_html/wp-content/plugins/gif t-registry/php/paypal_response.php on line 25
February 13, 2018 11:27PM


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.