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

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 14 May 2003 23:19:39 -0000

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

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

  MESSAGE:  (#2694) Re: Listing with PHORM_DBFNREC 
            <http://www.phorm.com/support/?rev=2694> 
  AUTHOR:   Patrick O'Hara 
  DATE:     May 14, 2003 at 7:19 p.m. EST 

  Reply To: (#2693) Re: Listing with PHORM_DBFNREC 
  Author:   Rich 
  Date:     May 14, 2003 at 7:11 p.m. EST 

1. 
== 

echo '<font size="2" face="Verdana"><strong>'; 

- is fine 

2. 
== 

echo "<input type="checkbox" name=/"$fieldName/" 
value="{{PHORM_DBFRSLT[$i][File1]}}">"; 

- not good. Your string contains the characters that denote the begining and 
end of the string, so these need to be escaped. Try this 

echo "<input type=/"checkbox/" name=/"$fieldName/" 
value=/"{{PHORM_DBFRSLT[$i][File1]}}/">"; 

Note that all the " that you want in the output are escaped. This is where 
your problem with the parse error is. 

3. 
== 

echo $PHORM_DBFRSLT[$i][File1]. "<br>\n"; 

- is fine 

4. 
== 

echo '</strong></font>'; 

- is fine 

Hope that clears things up - sorry if I wasn't clear about that in my last 
post. 

Regards, 

Patrick O'Hara 
WhitsundayIT 
QLD, Australia 

patrick@xxxxxxxxxxxxxxxx 
www.whitsundayit.com 

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

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: