Not quiet there yet.
Thanks Ray,
I'm just a bit more ignorant than the reply suggests. lol. Here is a snippet of how I implemented the server action.
In the $WA_fieldNamesStr variable I inserted the column |CouponCode| to the list of db field names.
Then I went to $WA_fieldValuesStr and inserted "PromoCode" into the string of variables as shown below:
$WA_fieldValuesStr = "".session_id() ."" . "|". "".((isset($_SESSION["PromoCode"]))?$_SESSION["PromoCode"]:"") ."" . "|" . "".((isset($_POST["email"]))?$_POST["email"]:"") ."" . "|" ...string goes on....
Then I went to $WA_columnTypesStr below and inserted |',none,' '| to account for the new PromoCode field here too.
I then ran a live transaction. The transaction posts to the db, but the CouponCode field is empty. It used to say NULL, so something is different because now it's just blank. I get no errors, but I'm thinking the syntax of the $WA_fieldValuesStr is wrong where I've inserted the field.
BTW, what's this syntax mean? ((isset(true/false))?superglobal:"")
It looks like an if then where the "?" is "THEN" and the ":" would be an assignment of something if the superglobal wasn't already set, but I'm unsure of the "?" and the ":" usage. I've looked on line and in my PHP manual, but can't find an answer.
Thank you!!