$res = mysqli_query($link, 'Select id, name, class from MyTable"); $row = mysqli_fetch_array($res);