UPDATE jjtanalytics_logs SET screenresolution='1280 x 1024', colourdepth='32 bit', pagetitle='Analytics Test', java='Supported', flash='10.0', WHERE ip='xxx.xxx.xxx.xxx' AND timestamp='1245433510' AND urlvisited='http://domain.tld/analytics/
Please could anyone tell me what's wrong with it.
Thanks,
Ronnie268
06-20-2009, 09:40 AM
chazzy
remove the comma before the WHERE clause.
06-20-2009, 11:14 AM
Ronnie268
Thanks - that worked brilliantly. BTW, I'd also forgotten to copy across the final ', so the query now looks like this:
UPDATE jjtanalytics_logs SET screenresolution='1280 x 1024', colourdepth='32 bit', pagetitle='Analytics Test', java='Supported', flash='10.0' WHERE ip='xxx.xxx.xxx.xxx' AND timestamp='1245433510' AND urlvisited='http://domain.tld/analytics/'