Search


( ! ) Fatal error: Wrong SQL: SELECT 'Include Resellers' as category,'reseller' as fieldname,reseller as `element`, SUM(deal_count) as phone_count from options WHERE reseller<>'' AND tariff_name = 'SIM Free' AND offer_clearance = '1' GROUP BY reseller UNION ALL SELECT 'Type' as category,'type' as fieldname,type as `element`, SUM(deal_count) as phone_count from options WHERE 1 AND tariff_name = 'SIM Free' AND offer_clearance = '1' GROUP BY type UNION ALL SELECT 'Model Make' as category,'model_make' as fieldname, model_make as `element`, SUM(deal_count) as phone_count from options WHERE model_make != '3' AND model_make != 'Mobile Broadband' AND model_make != 'SIM Only' AND model_make != 'Vodafone' AND model_make != 'Orange' AND model_make != 'T-Mobile' AND tariff_name = 'SIM Free' AND offer_clearance = '1' group by model_make UNION ALL SELECT 'Phone Cost' as category,'offer_phonecost' as fieldname, offer_phonecost_range as `element`, SUM(deal_count) as phone_count from options WHERE 1 in C:\wamp\www\php\Database\datarequestfunction.php on line 30
Call Stack
#TimeMemoryFunctionLocation
10.0002248616{main}( )..\search.php:0
20.0018422384include( 'C:\wamp\www\php\SearchPage\searchoptions.php' )..\search.php:127
30.0019433272requestData( )..\searchoptions.php:219
40.0035445400trigger_error ( )..\datarequestfunction.php:30