Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
The problem is in the text you are assigning to your array, you used single quote delimiters, but there are single quotes in the content of the array too.
This make PHP think that it reached the end of the variable value, when it's not the case.
You have to replace every single quotes of the HTML you put in the array with a prepending backslash.
Making " ' " look like " \' ".
To be more specific, your problem lies in the javascript line
Code:
var icpForm1116 = document.getElementById('icpsignup1116');
which should be
Code:
var icpForm1116 = document.getElementById(\'icpsignup1116\');
__________________
Only a biker knows why a dog sticks his head out the window.
|