How would I go about putting a today / yesterday counter together?
What exactly do you mean? if you just want to display the day (day/date/mont/year) then just use the gmtime() function. Explain it more if thats not what you need.
What I need is something that counts the visits to my site per day, and for yesterday. i have for the total but i need the other two.