I am really stumped!
I have been trying with no success for a week now to get PHP and MySQL to work together. My installation with these two are with these latest versions: PHP 5.1.4, MySQL 5.0.21.
After the installations, I ran the following db.php to test out my installations . . .
<?php
$conn = mysql_connect("localhost", "oscommerce", "password");
$result = mysql_list_dbs($conn);
while($db_data = mysql_fetch_row($result))
{
echo "<b> $db_data[0]</b><br>";
}
?>
. . . I get the message:
"Fatal error: Call to undefined function mysql_connect() in C:\Internet\WebServer\Apache2.2\htdocs\db.php on line 2"
which basically means that PHP is not finding the necessary libraries in order to work with MySQL. I read from all the forum postings that PHP5 (the late
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --