This is so much easier with PDO.
$stmt = $connection->prepare("select * from sobhane");
$stmt->execute();
$rows = $stmt->fetchAll();
and $rows IS your multi dimensional array.
This is so much easier with PDO.
$stmt = $connection->prepare("select * from sobhane");
$stmt->execute();
$rows = $stmt->fetchAll();
and $rows IS your multi dimensional array.