Hi,
I changed the line so that it was as follows:
<td><?php die (stripslashes(isset($_POST["Contact_us_group_Comments"]))?$_POST["Contact_us_group_Comments"]:"")?></td>
But I got the following error and the form wouldn't submit at all:
Parse error: syntax error, unexpected T_VARIABLE in /home/site/www/test/WA_Universal_Email/WAUE_contact_1.php on line 65
I also tried:
<td><?php die ((isset($_POST["Contact_us_group_Comments"]))?$_POST["Contact_us_group_Comments"]:"")?></td>
and still got the above error.
When I changed it back to the echo, it submitted but I'm still getting the backslash.
Also when I originally added the stripslashes, when I saved I got the following warning:
''This document contains JavaScript code for a widget that no longer exists. I fyou don't remove the code, the browser might display JavaScript errors when loading the page. Would you like Dreamweaver to find all instances of this code for you?
Widget: var Contact_us_group_nbsp_Spry = new
Spry.Widget.ValidationTextField("Contact_us_group_nbsp_Spry",
"none",{validateOn:["blur"});''
The above warning no longer appears now that I've taken the stripslashes out though.
Do you know what's happening or why it's not working?