Notquiteanewbie
Limp Gawd
- Joined
- Jan 9, 2004
- Messages
- 221
hey guys i would appreciate your help on the following dilemna.
I'm trying to connect to mysql running on my local host via php
i get the following error message
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\db_connect.php on line 3
<?
$connection = mysql_connect("127.0.0.1:80", "root", "********")
or die(mysql_error());
if ($connection) {
$msg= "success";
}
?>
<html>
<head>
<title>MYSQL Connection</title>
</head>
<body>
<? echo "$msg"; ?>
</body>
</html>
applying "@mysql_connect" does not work
please help, thank you in advance,
I'm trying to connect to mysql running on my local host via php
i get the following error message
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\db_connect.php on line 3
<?
$connection = mysql_connect("127.0.0.1:80", "root", "********")
or die(mysql_error());
if ($connection) {
$msg= "success";
}
?>
<html>
<head>
<title>MYSQL Connection</title>
</head>
<body>
<? echo "$msg"; ?>
</body>
</html>
applying "@mysql_connect" does not work
please help, thank you in advance,