PHP connection problem
Posted by:
Intech
Date: January 04, 2006 06:09AM
I'm very new to php & mysql
I am trying to connecti mysql 5.0 through my php code
<body bgcolor="#99CC00">
<script language="php">
$connection = mysql_connect('localhost','root@localhost','pass');
if ($connection) {
$msg = "success!";
}
</script>
</body>
It gives the following error?
Fatal error: Call to undefined function mysql_connect()
Thanks in advance
Intech
Subject
Written By
Posted
PHP connection problem
January 04, 2006 06:09AM
February 15, 2006 09:09AM
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.