Hello.
I have a daybook/diary style page at the moment that I want to update.
basically this calender logs car regs and their jobs into alotted dates.
If the same reg comes on more than once within one date I would like to only display 1 and show the number of them - with a button which allows them to see all those vehicles job if they want
example…
monday
SBS 911
SBS 911
SBS 911
I would prefer…
SBS 911 - 3
SELECT veh_reg, veh_date, eas_no, COUNT('veh_reg') FROM daybook_db NATURAL JOIN job_db WHERE veh_date>=('$datesrc') AND veh_date<=('$datesrc2') GROUP BY veh_reg
you can see what I am trying to do but not sure If i should just have a normal query and then try and adjust the results with php statement…???
any ideas?