M
M
Mikhail Smirnov2021-02-05 21:09:10
PHP
Mikhail Smirnov, 2021-02-05 21:09:10

How to correctly find out the id of the received record?

Please tell me I'm making a request like this

$conn = connect();
$result = mysqli_query($conn,"SELECT * FROM `country`  WHERE `sity`='Москва'");

How to correctly find out the id of the received record?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2021-02-05
@Mehannik

Execute fetch and look at the received data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question