Why won't my script connect to DB if I include the DBCONN info within an INCLUDE???
<?php include("http://www.xxx.com/xxx/db.php"); ?>
<?php
// URL format = crewoptions.php?tool=VALUE&jobID=VALUE
// tool options: view, edit and delete
// db connection info
IF I COMMENT THE FOLLOWING TWO LINES OUT...CONNECTION TO DATABASE WONT OCCUR
THE ABOVE FILE PATH IS CORRECT AND THE INFO WITHIN IT IS EXACTLY THE FOLLOWING TWO LINES
WHY CANT I GET A CONNECTION VIA INCLUDE????
$db = mysql_connect("localhost", "xxxx", "xxxx");
mysql_select_db("xxxx",$db);
Please help.