MySQL Forums
Forum List  »  Newbie

Re: puh-lease help me!
Posted by: Nancy LaPoint
Date: July 20, 2005 07:28AM

Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\LaBECq\mysql_up.php on line 16

ok... I at least have this error now... I have my site set up to test on the local server. This is what I have typed into my DW test page.

<?php
$host="localhost";
$user="root";
$password="1991516";

mysql_connect($host,$user,$password);
$sql="show status";
$result = mysql_query($sql);
if ($result == 0)
echo "<b>Error " . mysql_errno() . ": "
. mysql_error() . "</b>";
else
{
?>

Options: ReplyQuote


Subject
Written By
Posted
July 19, 2005 01:18PM
July 19, 2005 06:25PM
July 20, 2005 01:01AM
July 20, 2005 07:12AM
Re: puh-lease help me!
July 20, 2005 07:28AM
July 20, 2005 07:52AM
July 20, 2005 08:03AM
July 20, 2005 08:30AM
July 20, 2005 08:37AM
July 20, 2005 08:49AM
July 20, 2005 09:01AM
July 21, 2005 05:48AM


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.