MySQL Forums
Forum List  »  General

Re: how in MySQL useful
Posted by: Mann Singh
Date: December 20, 2014 02:33AM

<?php
$username = "your_name";
$password = "your_password";
$hostname = "localhost";

//connection to the database
$dbhandle = mysql_connect($hostname, $username, $password)
or die("Unable to connect to MySQL");
echo "Connected to MySQL<br>";
?>

Options: ReplyQuote


Subject
Written By
Posted
October 25, 2014 11:30PM
October 26, 2014 08:11PM
Re: how in MySQL useful
December 20, 2014 02:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.