Incrementing the data correctly...

Hey All :slight_smile:

$day = “{$_GET[‘day’]}” && $month = “{$_GET[‘month’]}” && $year = “{$_GET[‘year’]}”

Psst - your only using 1 equals sign instead of 2 :)

you could also rewrite
$daily_count = $daily_count+$count;
as
$daily_count =+$count;

Don’t know if that will help or not.

Oops about the equal thing lol.

As well, now all results are being returned as 0,0 ??? Man what did i do this time lol…

Thanks for the attempt lig :)

Just out of curiousity - why are you holding all that data in 1 column? Why not have them in there own table with each piece as it’s own column with a link to the individual sites?

Sponsor our Newsletter | Privacy Policy | Terms of Service