A Sample Function

function my_db_query($query)
{
mysql_connect(“machine”, “user”, “password”);
mysql_select_db(“whichdatabasetouse”);
return mysql_query($query);
}

?>

This entry was posted in Kevin\'s Log. Bookmark the permalink.