Pentiums Posted October 15, 2009 Report Share Posted October 15, 2009 (edited) SELECT COUNT(DISTINCT(referer)) skaits, DISTINCT(referer) refereris FROM skaitiklis WHERE datums > '$unix_laiks' AND referer != '' GROUP BY referer ORDER BY referer ASC izmet You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DISTINCT(referer) refereris FROM skaitiklis WHERE datums > '1255554000' AND refe' at line 1 Edited October 15, 2009 by Pentiums Quote Link to comment Share on other sites More sharing options...
Pentiums Posted October 15, 2009 Author Report Share Posted October 15, 2009 stulba kļūda no manas puses, atrisināju.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.