HubsInfo Network
You're browsing our forum as a Guest meaning you can only see a portion of the forum in read-only mode. To view all forum nodes and be able to create threads/posts please register or log-in.
PHP MySQL Linux Material Design Web Hosting Online Games SimCity BuildIt

PHP Warning mysqli_real_escape_string expects exactly 2 parameters

0 Members and 1 Guest are viewing this topic.

How to fix "PHP Warning:  mysqli_real_escape_string() expects exactly 2 parameters, 1 given in"

Code: [Select]
$Id = mysqli_real_escape_string($_GET['Id']);
Code: [Select]
$Id = mysqli_real_escape_string($conn, $_GET['Id']);

Linux Ubuntu Guides Linux games -