I am having a strange error when calling a php file. The php just runs a sql query, and I just include common.php to get my connection. I do an ajax request to run the php file, but the error is with a line in my php file that uses the sql_query() function. For some reason, I am getting a fatal error message that says, "Call to a member function sql_query() on null. Any experience with something like this?