Twitter Facebook Delicious Digg Stumbleupon Favorites More

Sunday, 25 June 2017

database connection query part 1

<?php

$username="root";
$password="";
$host="localhost";
$database="project";
$conn=mysqli_connect($host,$username,$password,$database);
if(!$conn)
{
echo "CONNECTION FAIL";
}
else
{
echo "CONNECT SUCESSFULLY";
}

?>
Share:

0 comments:

Post a Comment

Search This Blog

Popular Posts

Pages

how to make crores from 1 lakh in stock markets in 1 year

how to make crores from 1 lakh in stock markets in 1 year

Blogger Tutorials

Blogger Templates

Sample Text

Copyright © ANDROID TUTORIAL CODE | Powered by Blogger
Design by SimpleWpThemes | Blogger Theme by NewBloggerThemes.com & Distributed By Protemplateslab