Hi folks. I'm a real newbie to mysql (believe it or not!)

While just starting to get my feet wet in it, I've come across a huge
stumbling block already. I am familiar with php however.

A php script I'm playing with has this line:

$db = mysql_connect("localhost", "root");

Here's the html output

Fatal error: Call to undefined function: mysql_connect() in
/var/www/test.php on line 15

I even tried the updated command line with the same failed result

$db = mysql_real_connect("localhost", "root");

BTW, doing a phpinfo() shows that mysql is compiled into php (I'm using PHP
Version 4.1.2 )

Any help would be appreciated.

Ken

------------------------------------------------------------------------------
President - Arcom Communications
Amateur Radio Station AH6LE
Curious about the weather in Orygun? Check out
http://www.ah6le.net/weather.html
http://www.ah6le.net
http://www.ah6le.com
AH6LE/R - IRLP Node 300
http://www.irlp.net

RC Websites
http://oregonbarnstormers.rcclubs.com
http://pegasus.rcplanet.com

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to