G
G
Guzh2017-06-25 18:16:39
PHP
Guzh, 2017-06-25 18:16:39

How to check the success of a query in Postgre php?

The query itself: $result = pg_query($dbconn, "DELETE FROM \"Cars\" WHERE id_cars = 5");
How to find out that the entry was really deleted, of course, without using select* from Cars where id_cars=5

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Medvedev, 2017-06-25
@Guzh

php.net/manual/en/function.pg-query.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question