[phorm] [Phorm:] Listing with PHORM_DBFNREC

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 14 May 2003 16:46:14 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#2687) Listing with PHORM_DBFNREC 
            <http://www.phorm.com/support/?rev=2687> 
  AUTHOR:   Rich 
  DATE:     May 14, 2003 at 12:46 p.m. EST 

Hi, 

I am using the following in the PHP page not config: 

for ($i = 0; $i < $PHORM_DBFNREC; $i++) { 
echo '<font size="2" face="Verdana"><strong>'; 
echo '<input type="checkbox" name="F[$i]" value="$PHORM_DBFRSLT[$i][File1]">'; 
echo $PHORM_DBFRSLT[$i][File1]. "<br>\n"; 
echo '</strong></font>'; 
} 

Now, the output of what the user sees is perfect. The problem is in the source 
code. I get: 

<font size="2" face="Verdana"><strong><input type="checkbox" name="F[$i]" 
value="$PHORM_DBFRSLT[$i][File1]">FileName1.doc<br> 

I am looking for the *name* to go numerically (F1, F2, F3, etc.) and the 
*value* to list the file names as it comes in. In the example above, I would 
like the name to be *F1* and the *value* should be *FileName1.doc*. I know I 
am missing something, or a few things. 

Any ideas? 

Thanks, 

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.

Other related posts:

  • » [phorm] [Phorm:] Listing with PHORM_DBFNREC