Answers for "mysqli fetch array"

CSS
0

PHP mysqli_fetch_array function

<?php
mysqli_fetch_array($result);
?>
Posted by: Guest on June-17-2021
1

mysqli load result into array

$resource = $db->query("SELECT * FROM users WHERE userid = '".$userid."'");
while($row = $resource->fetch_array()) { $the_rows[] = $row; }
		/// later use like:
		//	foreach($the_rows as $row)
		//	{
		//		echo $row['product'];
		//	}
Posted by: Guest on July-29-2020

Browse Popular Code Answers by Language