Wow, that surely sucked..

What's with the SELECT * querys?

you know what all the columns are named. select * will force mysql to make an extra query, just to find out what the columns are named..

Just use SELECT hits FROM blabla..

Also, instead of grabbing the amount of hits, letting php add one to it, just do UPDATE mini_hits SET hits = hits + 1