note 100711 added to function.mysql-connect
| From: | richard dot f dot htc at hotmail dot co dot uk | Date: | Mon, 01 Nov 2010 16:05:24 +0000 |
| Subject: | note 100711 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-173672@lists.php.net to get a copy of this message | ||
hi can some one tell me why im getting this error?
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache
Group\Apache2\htdocs\temp_con3.php on line 3
this is the code it relates to.
<?php
require($_SERVER["DOCUMENT_ROOT"]."/config/bd_config.php");
$connection = mysql_connect($db_host, $db_user, $db_password) or die ("error
connecting");
echo "connection made, yeah baby, yeah!";
?>
----
Server IP: 109.169.40.147
Probable Submitter: 2.123.119.224
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit -- https://master.php.net/note/edit/100711
Del: integrated -- https://master.php.net/note/delete/100711/integrated
Del: useless -- https://master.php.net/note/delete/100711/useless
Del: bad code -- https://master.php.net/note/delete/100711/bad+code
Del: spam -- https://master.php.net/note/delete/100711/spam
Del: non-english -- https://master.php.net/note/delete/100711/non-english
Del: in docs -- https://master.php.net/note/delete/100711/in+docs
Del: other reasons-- https://master.php.net/note/delete/100711
Reject -- https://master.php.net/note/reject/100711
Search -- https://master.php.net/manage/user-notes.php