<?php
$v = mysqli_connect("localhost","root","","mydb");
if (mysqli_connect_errno()) {
echo mysqli_connect_error();
exit();
} else {
echo "Successful database connection, happy coding!!!";
}
?>
cOURTESy
https://www.developphp.com/video/PHP/MySQL-Database-Tables-Creation-Script-Logic
No comments:
Post a Comment