mysql 4.1 php 5.0.52 apache 2 mysql_connect()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux