PHP MYSQL CONNECT

1
19

<?php
$con = mysql_connect(“localhost”,”peter”,”abc123″);
if (!$con)
{
die(‘Could not connect: ‘ . mysql_error());
}

// some code
?>

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here