Hi, I have my Database in MYSQL and wanna use PHP on Apache At the starting of the page I have given
<?php $query = "SELECT * FROM appl"; // Establish a connection to the MySQL DBMS $connection = mysql_connect("linuxsrv", "sameer", "sameer"); // Use the rcmms database mysql_select_db("rcmms", $connection); // Run a query through the connection $result = mysql_query($query, $connection); ?> I says that mysql_connect Fatal error: Call to undefined function: mysql_connect() in /var/www/html/rcmms/appl.php on line 5 Please advice Sameer -------------- http://www.dypatil.edu For Better tomorrow --------------------------------------------------------------------- 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