To: php-db@xxxxxxxxxxxxx From: "Jono" <jono@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 25 Feb 2004 20:50:37 -0000 Subject: call to undefined function mysql_connect() [PHP / MySQL / Red Hat 8] Hey. I've just installed Red Hat 8 from a downloaded distribution and have set up Apache, PHP and MySQL. The problem I have is my old code that I wrote in a Windows environment doesn't work. The error I get is: call to undefined function mysql_connect() I know that Apache is running fine and I know that PHP and MySQL run okay independantly of each other, but I can't work out how to get them working together. Any Ideas? Thanks, Jono. Hi, Generally you need to post your code to get help, otherwise we can't show you where the problem is. So could you please, unless you have found a solution, post your code so we can see what's going on and point you in the right direction? :) J Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php