hello all,
I'm posting on 2 lists because I'm not sure were the problem is, so I'm hoping
that some one can help me out.
I'm running a stock RH8 machine running amongst other things MySQL 3.23.52-3,
Apache 2.0, PHP 4.2.2-8.0.5 When I try a simple php script that is this
(sensitive information changed to protect me):
<html>
<head><title>My PHP test file</title></head>
<body>
<?php
$link = mysql_connect ("localhost", "user", "password")
or die ("Could not connect");
print ("Connected successfully");
$query = "SELECT * FROM who";
$result = mysql_db_query ("mcdougrsMedia", $query)
or die ("Query failed");
?>
</body>
</html>
The page produces the following output:
Fatal error: Call to undefined function: mysql_connect() in
/home/username/public_html/testing.php on line 5
Can you guys see what is wrong... or if there is other information that is
needed that isn't there please let me know and I will post whatever information
is needed to fix it.
TIA,
Ryan
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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