Hi, I am running PHP 5.04, Apache 2, along with MySQL 4.
I am trying to connect to my database using
<?php
$conn = mysql_connect("localhost", "usrname", "passswrd");
echo $conn;
?>
I guess this as a result:
Fatal error: Call to undefined function mysql_connect() in F:\WEBROOT\public\main\PHP\PHPnMySQL\Listing16.1.php on line 15
All my other PHP scripts are working. This is my first time actually trying to get PHP to interact with MySQL. 🙁 Help please! 😕