Php While Loop Sql Query Compiler Definition In C