thanks to member @sh who has taught me that you can use the do {} while; syntax in php! Sorry didn't wanna clog up your thread with this :P But its pretty kewl, never knew it was allowed in php!