Debt Consolidation - Apply for Credit Card - Free Advertising - Wordpress Themes - Business Gifts

PDA

View Full Version : scripting w/ conditions


doctorj
Jul 22nd 2004, 9:23 am
Is it possible to make a script in Optigold to execute different sql commands based upon which value is in a field in OptiGold?

Stephen

doctorj
Jul 22nd 2004, 9:27 am
To clarify my previous question - the value in the field in OptiGold would not be a value to be entered directly into the SQL db but would only be used to determine which predefined sql commands and values would be executed.

digitalpoint
Jul 22nd 2004, 9:31 am
No, there is not any if/then/else logic available within the SQL statement (other than the normal IF() statement you can use within the SQL statement itself.

Zackman
Jul 23rd 2004, 9:54 pm
What I have found is to use a standard Http trigger to send a get url to a custom php scrip on my server with the optigold fields passed through the url, this way I can manipulate any data I want through php.. It also bypases the cost of the Nettools plugin with enhanced functionality. :D