I've tried various versions of this string but here's how i'm trying to connect to my DB as follows:[/B]
$link = mysql_connect("$hostname", "$username", "$password")or die("Could not connect");
mysql_select_db("$database") or die("Could not select database");
I'm getting this error via my localhost:
Fatal error: Call to undefined function mysql_connect() in C:\Webserver\Apache Software Foundation\Apache2.2\htdocs\SearchEngine.php on line 43
Thanks in advance.