A
Anonymous
Guest
Hello im using apache php5 and mysql4.1..
i am just trying to connect to the database with a password and username..but an error occuer
Fatal error: Call to undefined function mysql_connect() in c:\webs\test\connect.php5 on line 5
Please help me
Here is my code
i am just trying to connect to the database with a password and username..but an error occuer
Fatal error: Call to undefined function mysql_connect() in c:\webs\test\connect.php5 on line 5
Please help me
Here is my code
Code:
<html>
<head><title>Connect Server</title></head>
<body>
<?
$link = mysql_connect("localhost",$_POST['username'],$_POST['password'])or die("Connect
Eror: ".mysql_error());
print "Successfully connected.\n";
mysql_close($link);
?>
</body>
</html>