when i try and connect to the database i get the following error Call to undefined function mysql_connect(). now ive always used this and from searching the boards everyone else using php has been using mysql_connect also, but its not working for me.
heres the code im using
$conn = mysql_connect($zhost, $zname, $zpass);
@mysql_select_db($zdb, $conn) or die( "Unable to select database");