Welcome Guest, Not a member yet? Register   Sign In
Matching Dates
#5

[eluser]james182[/eluser]
i get this error
Code:
A Database Error Occurred

Error Number: 1054

Unknown column '0' in 'where clause'

SELECT COUNT(*) AS `numrows` FROM (`default_eventcal`) WHERE `0` = '2012-08-04'

Filename: /xxx/calendar_m.php

Line Number: 13

and if i take out the where clause i get the count 5 which is kinda right, there is 5 events but 2 on one date, 2 on another and 1 on another.
so on those dates i should count 2, 2, 1


Messages In This Thread
Matching Dates - by El Forum - 08-16-2012, 04:50 AM
Matching Dates - by El Forum - 08-16-2012, 05:37 AM
Matching Dates - by El Forum - 08-16-2012, 09:11 PM
Matching Dates - by El Forum - 08-16-2012, 10:22 PM
Matching Dates - by El Forum - 08-16-2012, 10:50 PM
Matching Dates - by El Forum - 08-17-2012, 12:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB