PHP / MYSQL Question
#9

Quote:
Originally Posted by Mr_DjolE
Посмотреть сообщение
Why while() btw ?
mysql_fetch_row/array attempts to fetch rows from the resulting mysql set. While loops through the result set as long as there are rows. So if you have 3 rows the while loop will fetch $row 3 times.
Reply


Messages In This Thread
PHP / MYSQL Question - by acade - 30.01.2013, 18:57
Re: PHP / MYSQL Question - by RedCrossER - 30.01.2013, 19:03
Re: PHP / MYSQL Question - by acade - 30.01.2013, 19:04
Re: PHP / MYSQL Question - by acade - 30.01.2013, 19:12
Re: PHP / MYSQL Question - by KingHual - 31.01.2013, 05:16
Re: PHP / MYSQL Question - by Aldo. - 31.01.2013, 09:01
Re: PHP / MYSQL Question - by Sinner - 31.01.2013, 09:02
Re: PHP / MYSQL Question - by Djole1337 - 31.01.2013, 11:07
Re: PHP / MYSQL Question - by Sinner - 31.01.2013, 12:13

Forum Jump:


Users browsing this thread: 4 Guest(s)