[PHP] Repeat Region Error

2008-12-21 Thread Gary Maddock-Greene
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 something to do with my Dreamweaver created code for a repeat region. The head code is: function GetSQLValueString($theValue, $theType, $theDefinedValue =

Re: [PHP] repeat region

2002-12-18 Thread Justin French
Hi, what you want to do is only echo the and every 7 loops through the records. Untested example: "; } echo "{$myrow['id']}"; if($i == 7) { echo ""; $i = 0; } } ?> Justin on 19/12/02 4:27 PM, Bruce Levick ([EMAIL PROTECTED]) wrote: > Hi php'ers, > I have learnt alot in the la

[PHP] repeat region

2002-12-18 Thread Bruce Levick
Hi php'ers, I have learnt alot in the last week in regards to php and listing the rows of a table set. I need help with a small challenge. I can retrieve rows from a database table and list the results in HTML cell successfully. My challenge is this. I want to list the I.D (auto increment id num