Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php connection mysqli database

<?php
$host="localhost";
$user="root";
$password="";
$db="attendance";
$conn=mysqli_connect($host,$user, $password, $db);

if(mysqli_connect_errno()){
echo "Connection Fail".mysqli_connect_error();
}

?>
Source by www.000webhost.com #
 
PREVIOUS NEXT
Tagged: #php #connection #mysqli #database
ADD COMMENT
Topic
Name
3+5 =