note 76121 added to function.mysql-connect
| From: | salamircea at yahoo dot com | Date: | Sun, 01 Jul 2007 13:38:30 +0000 |
| Subject: | note 76121 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128132@lists.php.net to get a copy of this message | ||
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!
----
Server IP: 69.147.83.197
Probable Submitter: 86.107.73.11
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit -- https://master.php.net/note/edit/76121
Del: integrated -- https://master.php.net/note/delete/76121/integrated
Del: useless -- https://master.php.net/note/delete/76121/useless
Del: bad code -- https://master.php.net/note/delete/76121/bad+code
Del: spam -- https://master.php.net/note/delete/76121/spam
Del: non-english -- https://master.php.net/note/delete/76121/non-english
Del: in docs -- https://master.php.net/note/delete/76121/in+docs
Del: other reasons-- https://master.php.net/note/delete/76121
Reject -- https://master.php.net/note/reject/76121
Search -- https://master.php.net/manage/user-notes.php