PHP Code - Seems to run a MySQL query twice !!?? - Not sure why

Printable View