dolcevita - 3:40 pm on Mar 11, 2013 (gmt 0)
Thank you for your reply. I've followed your advice and did changed:
I have also removed ORDER BY second query. By first query is needed to show up last 10 visits (where counter is 1) but by second query is randomly chosen and there is not needed.
Actually first code must show only last 10 visits and i have there replace old code:
$query=" SELECT * FROM visits WHERE counter='1' ORDER BY id DESC LIMIT 10";
with new one (from the first post) but not sure of that was wise move?
If someone have another idea it will be more than appreciate
What about mysql_unbuffered_query in future - "This extension is deprecated as of PHP 5.5.0, and will be removed in the future."?