The following new message has been posted on Phorm Support Forum at <http://www.phorm.com/support/>. *************************************************************************** MESSAGE: (#2620) Re: Check box question <http://www.phorm.com/support/?rev=2620> AUTHOR: Rich DATE: May 2, 2003 at 1:29 a.m. EST Reply To: (#2619) Re: Check box question Author: Patrick O'Hara Date: May 2, 2003 at 12:37 a.m. EST Hi Patrick, $nextSection = 1; --for ($i = 0; $i > 8; $i++) { ---$varName = "F" . $i; ----if (isset($$varName)) { -----$sectionName = "Section" . $nextSection++; -----$$sectionName = $$varName; } } OK... I understand most of the logic behind this loop, but I am missing something. Not sure what it is. The source code (when run - thru 8) for the check box is: <td align="left"><strong><font color="ff3300" size="2" face="Verdana"> <input type="checkbox" name="F1" value="Banking.doc"> Banking.doc </font></strong></td> AND the code in the HTML for where I want the fetched data to land is: $Section1 = if ($DocNum == "1" || $DocNum >= "2"){ if ($Work1 == "Doc1" || "Web1"){ echo '<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr valign="top"> <td colspan="2" align="center"><p><strong><font color="000000" size="4" face="Verdana">File # 1 Info</font></strong><br> <strong><font color="#0033CC" size="2" face="Verdana">{{PHORM_DBFRSLT[0][Piece]}}<br>'; } blah blah blah } ; It's a much longer HTML code, but the *{{PHORM_DBFRSLT[0][Piece]}}* amongst many other fetched variables is where I am confused. Thanks again, Rich *************************************************************************** This is an automatically-generated notice. If you'd like to be removed from the mailing list, please visit Phorm Support Forum at <http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx If you wish to respond to this message, please post your response directly to the board. Thank you! ------------------------------------------------- You are receiving this message because you are subscribed to the Phorm mailing list. To send messages to the mailing list, simply send email to phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe from the list by sending email to phorm-request@xxxxxxxxxxxxx with 'unsubscribe' in the SUBJECT field.