PHP сделать строку запроса из массива
http_build_query(['a' => 'ah', 'b' => 'bee']);
//Output: a=ah&b=bee
Tiago F2
http_build_query(['a' => 'ah', 'b' => 'bee']);
//Output: a=ah&b=bee
<?php
echo $_GET["query_name"]; // url queries are stored in $_GET
?>
$result = "select * from random_table where id = 1";
$rows = [];
while($row = mysqli_fetch_array($result))
{
$rows[] = $row;
}