ok...now that i have that i get this error a few lines down
Warning: mysql_result(): supplied argument is not a valid MySQL result resource
unction query($sql, $errormsg)
{
$dbhost = 'mysql.datacities.com';
$dbuser = 'hotboyd_paris';
$dbpasswd = '123456789';
$db = mysql_connect($dbhost, $dbuser, $dbpasswd);
global $db;
if( !($result = $db->query) )
{
return $result;
}
}
function result($query, $row) {
$query = mysql_result($query, $row);
return $query;
}
$query = mysql_result($query, $row); is the line its talkign about