[phorm] [Phorm:] Re: Listing with PHORM_DBFNREC

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 14 May 2003 22:04:38 -0000

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

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

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

  Reply To: (#2687) Listing with PHORM_DBFNREC 
  Author:   Rich 
  Date:     May 14, 2003 at 12:46 p.m. EST 

Yes, I figured out the *value="$PHORM_DBFRSLT[$i][File1]"*. Take out the $ and 
add {{}}. A no-brainer, I know. But the *name="F[$i]"*, I can't get a handle 
on. 

Thanks... Rich 

> 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: