hi
Ok, i fried my brain alleredy… so maybe some one can help?
Lets say we have date rande from 1-05-2007 to 18-05-2007, now on each day we have “x” number of visits, so I wanna build the graph to show visits in order for that I need to select each day separatly and count visits for that day. That wouldnt be hard if I could use for($i=1;$i<date(); $i++) but that does not work with date. Also like in VB i could use foreach(date()) but PHP does not suport it unless i have array, so im a bit confused now…
can some one tell me how can i build dates between my range so I would get something like
1-05-2007
2-05-2007
3-05-2007
4-05-2007
5-05-2007
6-05-2007
7-05-2007
8-05-2007
9-05-2007
10-05-2007
11-05-2007
12-05-2007
13-05-2007
14-05-2007
15-05-2007
16-05-2007
17-05-2007
18-05-2007
Thanks for help!