[PHP] Re: Repeat Region Error

2008-12-21 Thread Gary Maddock-Greene
Sorry guys .. resolved it doh! I was freeing the recordset in -Gary ""Gary Maddock-Greene"" wrote in message news:5a.42.33998.4b83e...@pb1.pair.com... Hi All, I am getting the following error - Warning: mysql_fetch_assoc(): 3 is not a valid MySQL result resource in I think it has

[PHP] Re: repeat region

2002-12-19 Thread Bastian Vogt
>From the manual: example: $a % $b name: Modulus value: Remainder of $a divided by $b. Not from the manual: example2: 47 % 5 value2: 2 HTH, Bastian > Jeff or anyone, > > Ok, I'll bight. What are you doing with the % and %7 ? > > > $idx=1; > > echo() > > while(fetch_rows) { > > prin

[PHP] Re: repeat region

2002-12-19 Thread John Taylor-Johnston
Jeff or anyone, Ok, I'll bight. What are you doing with the % and %7 ? > $idx=1; > echo() > while(fetch_rows) { > printf("%s, ID); > if($idx%7=0) {echo(''} > ++$idx; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: repeat region

2002-12-18 Thread Jeff
$idx=1; echo() while(fetch_rows) { printf("%s, ID); if($idx%7=0) {echo(''} ++$idx; } "Bruce Levick" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi php'ers, I have learnt alot in the last week in regards to php and listing the rows of a table set. I nee