Because the the enumeration start from 0 then the last index is count(*)-1 when you enter count(*) you are out of range I think so --- In php-objects@xxxxxxxxxxxxxxx, saad hamid <vearn2000@xxxx> wrote: > > when i run this code : > echo "$row[subject],$row['count(*)']"; > > i get errror , but when i change it to: > > echo "$row[subject],".$row['count(*)']; > > then it work, > can anyone tell me why, i'm still new with php. > > > get my key here http://geocities.com/vearn2000/key.txt > > ************* > *********** > ********* > ******* > ***** > *** > * > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/