Php Code For Database Connection In Python