D
D
davc2018-05-16 03:50:40
PHP
davc, 2018-05-16 03:50:40

How to get multiple rows at the same time with mysql via php?

hello how can i get multiple rows from mysql via php
i have this code

mysqli_query($link, "SELECT `name` FROM `ysers` ORDER BY `id` DESC");

how can be implemented?
all thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2018-05-16
@davc

php.net/manual/ru/mysqli-result.fetch-row.php

O
O_Nayre, 2018-05-16
@O_Nayre

WHERE some_id IN (1,2,3,4)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question