Skip to content

Instantly share code, notes, and snippets.

$myServer = "localhost";
$myUser = "root";
$myPass = "***";
$myDB = "optinet";
mysql_connect($myServer, $myUser, $myPass)
or die("Couldn't connect to SQL Server on $myServer");