Posted: Fri Feb 25, 2005 3:28 pm
How would I add that to my function query without rewriting the bulk of my code? I've tried adding it at the end of my current query - and it dies alright. none of my queries work with the revised statement.smpdawg wrote:Actually it never occurred to me that you were changing the code at the top. Some people will not know that is what you did and may end up saying something about the code looking right because they don't know that you changed it but I know where you are coming from.
You may want to add that or die() to DbConnector.php so you can see the error message. You can always remove it when the code is stable.
Code: Select all
//*** Function: query, Purpose: Execute a database query ***
function query($query) {
$this->theQuery = $query;
return mysql_query($query, $this->link) or die(mysql_error());
}