Answers for "how to fetch column data from row in php"

PHP
1

fetch row in php

$sql = "SELECT Lastname, Age FROM Persons ORDER BY Lastname";
$result = $mysqli -> query($sql);
while ($row = $result -> fetch_row()) {
    //statements
  }
Posted by: Guest on June-11-2021

Code answers related to "how to fetch column data from row in php"

Browse Popular Code Answers by Language