mlindal Posted November 15, 2005 Posted November 15, 2005 I am trying to eliminate a filemaker script and want to do everything in PHP. I am having trouble setting globals. Here is the code $webenglish=new FX($serverIP, $webCompanionPort); $webenglish->SetDBData('Publication_.fp5','ForWeb'); $webenglish->AddDBParam('-recid',$recid); $webenglish->AddDBParam('gWebLang',1); $webenglish->AddDBParam('Count_Detail',$Count); $webenglishResult=$webenglish->FMEdit(); gWebLang is a global variable that is 1 for english and 2 for french Count_Detail is a hit list count and for some reason I can't update it either. What am I missing. Thanks
Garry Claridge Posted November 16, 2005 Posted November 16, 2005 Have you tried: $webenglish->AddDBParam('gWebLang','1'); Good Luck. Garry
mlindal Posted November 16, 2005 Author Posted November 16, 2005 Got it fixed. I had not allowed editing in the table I was working with, so once I modified the Web_Security databases everything works fine.
Recommended Posts
This topic is 7017 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now