Hi! I tried to connect to a MySQL database I created but it keeps giving me this error :
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/first.php4 on line 13
I have checked using the phpinfo() function and it shows
that php is configured with mysql enabled (--with-mysql=shared,/usr). I am using php 4.1.2 running on linux and apache.
I tried installing the rpms found in http://rpmfind.net/linux/rpm2html/search.php?query=php-mysql
but still in vain. I am lost as to what to do as I am new to php,mysql and apache.