You are here: Re: how to clear an array « All PHP « IT news, forums, messages
Re: how to clear an array

Posted by JDS on 10/13/96 11:28

On Tue, 04 Oct 2005 10:24:38 +0200, Sentinel wrote:

> how do i findout when loop is at the first row and at the last row?

Please post the *exact* PHP code as well as a table description. Your
questions are getting jumbled and unclear, and, as a result, difficult to
answer.

I think your problem is that you are counting the number of items in each
row (6) instead of the number of rows you are getting back. Looking at
your use of mysql_fetch_array() and count(), that's my guess.

--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация