Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, I have installed php and mysql into my server( windows server 2003) the
php and mysql works when i like to use php connect it into the mysql. by
using this syntax:
<?php
$link = mysql_connect('localhost', 'root', 'cluI+4?b');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
But it happens to show this error message
Fatal error: Call to undefined function mysql_connect() in (directtorythat
this file is in)\n.php on line 2
please help.
Thanks
Nicholas
________________________________________
_________________________
Get MSN Hotmail alerts on your mobile.
http://mobile.msn.com/ac.aspx?cid=uuhp_hotmail
Post Follow-up to this messageOn Thu, 14 Apr 2005, Nicholas Tan wrote: > Hi, I have installed php and mysql into my server( windows server 2003) th e > php and mysql works when i like to use php connect it into the mysql. by u sing > this syntax: Please visit http://php.net/support.php to find out how to get support on PHP, this is the wrong place. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.