Php While Loop Sql Query Compiler Code Python Example Elif