note 49263 added to function.mysql-connect

From: Date: Fri, 21 Jan 2005 19:31:55 +0000
Subject: note 49263 added to function.mysql-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-83744@lists.php.net to get a copy of this message
Hi there! i am getting mad while trying to get this stuff running. on my system are: Apache 2.0.52 PHP 5.0.3 Mysql 4.1 i progrqammed a script taken from "http://3dBUZZ.com" ´s "php & Mysql Training course". as following: ##File temp_con.php stored in webroot: <?php require($_SERVER["DOCUMENT_ROOT"]."/config/db_config.php"); $connection = mysql_real_connect($db_host, $db_user, $db_password)or die("fehler beim connecten"); echo "connection war erfolgreich"; ?> ## end of file and ##File "db_config.php" stored in c:\webroot\config <?php $db_host = "localhost"; $db_user = "karsten"; $db_password = "sharon"; $db_name = "buzz_db"; ?> ## end of file My problem is i cant figure out how to install the new "MYSQL_REAL_CONNECT" - feature i am looking a whole f*$%%%ing day now and there is no germen help for it. everytime i locate to "http://localhost/temp_con.php" the only thing i get back is: a Fatal error: Call to undefined function mysql_real_connect() in C:\WEBSEITEN\BaltiCom2005\temp_con.php on line 3 HELP me please!!! sincerely yours Karsten Scherer igelcom@gmx.de ---- Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49263 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49263&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49263&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49263&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49263&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49263&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49263&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#83744) next »