[FX.php List] Passing a script parameter with PerformFMScript
Troy Meyers
tcmeyers at troymeyers.com
Sun Aug 30 16:00:13 MDT 2009
Bob,
Here are some examples I've used:
// Pre-sort
$ppw_add->PerformFMScriptPresort('WhatNewKeepSpS');
$ppw_add->AddDBParam('-script.presort.param',$userid);
// Pre-command
$ppw_add->PerformFMScriptPrefind('WhatNewKeepSpF');
$ppw_add->AddDBParam('-script.prefind.param',$userid);
// Post-command
$ppw_add->PerformFMScript('IPN post-command');
$ppw_add->AddDBParam('-script.param', $_POST['txn_id']);
-Troy
More information about the FX.php_List
mailing list