[phorm] [Phorm:] Re: Need help using dbfetch

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 11 Mar 2004 17:55:07 -0000

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

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

  MESSAGE:  (#3859) Re: Need help using dbfetch 
            <http://www.phorm.com/support/?rev=3859> 
  AUTHOR:   Mike Talvola 
  DATE:     March 11, 2004 at 12:55 p.m. EST 

  Reply To: (#3858) Re: Need help using dbfetch 
  Author:   Holotech 
  Date:     March 11, 2004 at 12:49 p.m. EST 

Thank you. I knew there was something really out of whack with what I was 
trying, but without any examples it was pure guesswork. I DO know PHP, but not 
the flow of Phorm at all, so it wasn't obviously wrong to me. 

Onward now! 

> You can't use these variables this way in the 
> configuration file. It's just that - configuration; 
> initial setup. The database hasn't been opened yet 
> (how could it be - you're setting the access variables 
> right here in the same file), and the lookup has not 
> been performed. You can use the variables with Phorm 
> variable substitution, so you should have something 
> like: 

> $PHORM_SUBJECT = "Password Request for {{UNAME}} 
> with {{PHORM_DBFNREC}} is {{db_PeopleID}}"; 

> I know it's a rather subtle distinction if you don't 
> know PHP, but with $ you're talking to PHP; with {{}} 
> you're talking to Phorm. 

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

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: