the code is::
$host = "www.machostingsearch.com";
$username = "uname";
$password = "pwd";
mysql_connect($host,$username,$password) or die ("Problem connecting to DataBase");
echo("connected");
$result = mysql_db_query("search", "select * from search_item_master") or die("Recordset Query Failed");
echo("open record");
while($r=mysql_fetch_array($result))
{
echo "$r[1] $r[0] <BR>";
}
echo("complete");
Here is the code ..
Also the URL now has been changed to www.machostingsearch.com/majolee/test.php
It is still not working...