note 76121 rejected from function.mysql-connect by nlopess
| From: | nlopess@php.net | Date: | Fri, 13 Jul 2007 19:09:39 +0000 |
| Subject: | note 76121 rejected from function.mysql-connect by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-128456@lists.php.net to get a copy of this message | ||
Note Submitter: salamircea at yahoo dot com
----
Hello all
After saving and running this file:
<?php
require($_SERVER["DOCUMENT_ROOT"] . "/config/db_config.php");
$connection = mysql_connect($db_host, $db_user, $db_password) or die("error");
echo "connected";
?>
I get this error in IE:
Fatal error: Call to undefined function mysql_connect() in
K:\webroot\temp_con.php on line 3
If anybody can help me please email salamircea@yahoo.com
Thanks a lot!