DA error when inserting a $_SESSION value
Hello,
Just an FYI and hopefully future fix... IF you are INSERTing a value that is from a session, DA wraps the value in quote marks when using the Insert Record Wizard.
For instance, if there is a session value you want to use in the Insert action and you entered is such as :
$_SESSION['keyName']
the wizard sets the insert code as follows:
"|" . "$_SESSION['keyName'] ". "|"
This condition creates an error as well as fails to show the value when you return to the Insert via the wizard.
Manually correcting the value to:
"|" . $_SESSION['keyName'] . "|"
solves the problem and allows a proper Insert
Hopefully in future versions this will work so as to allow the Session key to be inserted in the Wizard.