I have just installed the current version of php and mysql server plus the client.
I had apache running already, so that means that I did not have to install it again. When I did a test on mysql to connect i get this error Fatal error: Call to undefined function: mysql_connect() in /var/www/html/test.php on line 3 Well heres the code I used <?php $sql = "SELECT * FROM newsitems"; mysql_connect(); $rs = mysql_db_query("Websitedb",$sql); ?> Can someone tell me what I'm doing wrong . or is there other way I could test it out? Thank you --------------------------------------------------------------------- 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