1 2 3 4 5 6 7 8 9 10 |
$con = new mysqli("localhost","root","MYSECRET","kit"); // Check connection if ($con->connect_error) { die("Connection failed: " . $con->connect_error); } $execute = $con->query("select * from contact"); print_r($execute->fetch_assoc()); |
Leave a reply