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

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 11 Mar 2004 04:46:59 -0000

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

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

  MESSAGE:  (#3855) Re: Need help using dbfetch 
            <http://www.phorm.com/support/?rev=3855> 
  AUTHOR:   Mary Ellen 
  DATE:     March 10, 2004 at 11:46 p.m. EST 

  Reply To: (#3853) Re: Need help using dbfetch 
  Author:   Mike Talvola 
  Date:     March 10, 2004 at 5:17 p.m. EST 

> Thanks for the troubleshooting tips. I have an 
> environment now to test easily in, however I'm still 
> missing something. 

Glad to be of some help. I'm just learning how to use Phorm and php myself. 

> I turned debug72 on, got this: 
> DBFETCH: select PeopleID from users where 
> UserName='mikieat' 

> If I put that query in with phpMySQL, the response is 
> 1085 which is the correct value. 

> But, something is wrong when it executes in dbfetch it 
> seems. I also dumped $ph_ID and got 
> Resource id #7. I don't know internals well enough to 
> know if that is actually good, but I assume that since 
> it looks like something real it should be good. 

> However, $PHORM_DBFNREC is null after the mySQL call. 

Seems to me the value should be in $db_PeopleID. Not sure why it isn't. Sorry 
I can't be of more help. 

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

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: