Totally Zenned
- Join Date:
- Mar 2005
- Posts:
- 535
- Plugin Contributions:
- 3
Whats wrong with this query? Fresh eyes needed ;)
Theres only so long you can go staring at the same 2 line query wondering why it doesnt work before it drives you crazy.:sleepy:
$points_query = $db->Execute("SELECT customers_shopping_points FROM " . TABLE_CUSTOMERS . " WHERE customers_id = '" . (int)$id . "' AND customers_points_expires > CURDATE() LIMIT 1");
Can anyone with less tired eyes than me suggest a solution as to why this is causing a Call to a member function on a non-object error.:lookaroun
Thanks muchly.