PHP adds, deletes, queries, and changes to the postgreSQL database under myeclipse, and uses PHP to add, query, modify, and delete an instance of the postgreSQL database. PHPcode $ db = newPDO ('pgsql: dbname = testhost = localhost PHP adds, queries, modifies, and deletes a postgreSQL database.
In myeclipse, use PHP to add, delete, query, and modify instances for the postgreSQL database.
------ Solution --------------------
PHP code
$ Db = new PDO ('pgsql: dbname = test host = localhost', $ user, $ pass); $ db-> query ('select ...... '); $ db-> exec ('Insert ...... '); $ db-> exec ('Update ...... '); $ db-> exec ('delete ...... ');
------ Solution --------------------
Discussion
PHP code
$ Db = new PDO ('pgsql: dbname = test host = localhost', $ user, $ pass );
$ Db-> query ('select ......');
$ Db-> exec ('Insert ......');
$ Db-> exec ('Update ......');
$ Db-> exec ('delete ......');
I don't understand ......