[ad_1]
I need to make the following arrangement in PHP with SQL result:
if (!$result) {
echo "An error occurred.\n";
exit;
}
while($array = pg_fetch_array($result)) {
$list = $array['list'];
}
pg_free_result($result);
But only pedro
returns in the array.
[ad_2]