[phorm] [Phorm:] Re: While loop within DBFetch??

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 7 Apr 2003 02:57:23 -0000

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

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

  MESSAGE:  (#2493) Re: While loop within DBFetch?? 
            <http://www.phorm.com/support/?rev=2493> 
  AUTHOR:   Rich 
  DATE:     April 6, 2003 at 10:57 p.m. EST 

  Reply To: (#2492) Re: While loop within DBFetch?? 
  Author:   Patrick O'Hara 
  Date:     April 6, 2003 at 9:42 p.m. EST 

Hi Patrick, 

Thank you for your response. Sorry, I was not specific enough as to where I 
had this code. I did have this code in a PHP page (not in the config) with 
*PHORM_PARSPHP = "True";* set in config, and I still did not get the code in 
my previous posting to work on the PHP page itself. Do you see something else 
I am doing wrong? Thanks again for your help...Rich 

> Hi there, 

> Remember that the config file is read at the begining 
> of Phorm's execution. It is only used for setting the 
> settings for the remainder of Phorm's execution. 

> Therefore, you can't expect to be looping in the 
> config file to gain the results of the fetch 
> operation, as the fetch isn't done until after the 
> config file has been read. 

> To do what you are describing, you'd need to have your 
> ack page with a php extension, and set PHORM_PARSPHP 
> to true. 

> Hope this helps, 

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