help on php

From: Date: Thu, 14 Apr 2005 06:15:49 +0000
Subject: help on php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-27934@lists.php.net to get a copy of this message
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

« previous php.mirrors (#27934) next »