Well, I know that there is funciton mysql_fetch_array (), and we can use it as follows:
while ($row = mysql_fetch_array($result)) { echo $row['name'] . "<br />"; }
But is there any other way? For example, if there is only one element that can be returned, not an array.
Thanks)
source share