Forms List Menus
In my previous request I asked you about "State menu does not select a state" in this form H-Krueger-Design-Contact-Us.php . I meant the List Menu titled State. I did get it to download to the email by changing
$MailBody = $MailBody . " <td><p>State </p></td>\r\n";
$MailBody = $MailBody . " <td><p>\r\n";
$MailBody = $MailBody . " <select name=\"state\" size=\"1\" title=\"";
$MailBody = $MailBody . ((isset($_POST["state"]))?$_POST["state"]:"");
$MailBody = $MailBody . "\" \">\r\n";
to
$MailBody = $MailBody . " <td><p>State </p></td>\r\n";
$MailBody = $MailBody . " <td><p>\r\n";
$MailBody = $MailBody . ((isset($_POST["state"]))?$_POST["state"]:"");
$MailBody = $MailBody . "\\";
in H-Krueger-Design-Contact-Us.php
The email lists the State as NM\ -that is NM with a backslash. When I change $MailBody = $MailBody . "\\"; to $MailBody = $MailBody . "\"; I get a syntax error. At least it is sending the state abbreviation. Happy for that.
I will try again to add DataAssist insert record behavior to send to database.