/**
* Execute a database query and returns the result
* @param string The SQL query
* @return resource Database resource identifier. Refer to the PHP manual for more information.
* @deprecated This function is included for tempoary backward compatibility
*/function openConnectionWithReturn($query){$result=mysql_query($query) or die("Query failed with error: ".mysql_error());
return$result;
}/**
* Execute a database query
* @param string The SQL query
* @deprecated This function is included for temporary backward compatibility
*/function openConnectionNoReturn($query){mysql_query($query) or die("Query failed with error: ".mysql_error());
}