What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-02-02 18:55:30
mysqli_real_escape_string() expects parameter 1 to be mysqli
$con=mysqli_connect("xxx","xxx","xxx","xxx"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } // pass $con to mysqli_escape_string() ... Add solution -
PHP 2022-01-22 03:27:04
mysqli connect
<?php $mysqli = new mysqli("localhost","my_user","my_password","my_db"); // Check connection if ($mysqli -> connect_errno) { echo "Failed to connect to MySQL: " . $mysqli -> connect_error; ... Add solution -
SQL 2021-11-22 12:14:50
mysqli connect
<?php $mysqli = new mysqli("localhost","my_user","my_password","my_db"); // Check connection if ($mysqli -> connect_errno) { echo "Failed to connect to MySQL: " . $mysqli -> connect_error; ... Add solution -
SQL 2021-11-22 12:13:53
mysqli connect
<?php $mysqli = new mysqli("localhost","my_user","my_password","my_db"); // Check connection if ($mysqli -> connect_errno) { echo "Failed to connect to MySQL: " . $mysqli -> connect_error; ... Add solution -
SQL 2021-11-22 12:13:18
mysqli connect
<?php $mysqli = new mysqli("localhost","my_user","my_password","my_db"); // Check connection if ($mysqli -> connect_errno) { echo "Failed to connect to MySQL: " . $mysqli -> connect_error; ... Add solution -
SQL 2021-11-22 12:13:04
mysqli connect
<?php $mysqli = new mysqli("localhost","my_user","my_password","my_db"); // Check connection if ($mysqli -> connect_errno) { echo "Failed to connect to MySQL: " . $mysqli -> connect_error; ... Add solution -
SQL 2021-11-22 12:12:50
mysqli connect
<?php $mysqli = new mysqli("localhost","my_user","my_password","my_db"); // Check connection if ($mysqli -> connect_errno) { echo "Failed to connect to MySQL: " . $mysqli -> connect_error; ... Add solution -
SQL 2021-11-22 12:12:41
mysqli connect
<?php $mysqli = new mysqli("localhost","my_user","my_password","my_db"); // Check connection if ($mysqli -> connect_errno) { echo "Failed to connect to MySQL: " . $mysqli -> connect_error; ... Add solution -
SQL 2021-11-22 12:12:41
mysqli connect
<?php $mysqli = new mysqli("localhost","my_user","my_password","my_db"); // Check connection if ($mysqli -> connect_errno) { echo "Failed to connect to MySQL: " . $mysqli -> connect_error; ... Add solution -
SQL 2021-11-22 12:12:26
mysqli connect
<?php $mysqli = new mysqli("localhost","my_user","my_password","my_db"); // Check connection if ($mysqli -> connect_errno) { echo "Failed to connect to MySQL: " . $mysqli -> connect_error; ... Add solution
Best helpers
Ranking is empty