Hi all,
Sorry if this question is not strictly a PHP issue, more a HTML issue.
But here goes hoping for help.
I have a form within a PHP script, the form has a field (text type) and I need to input a default value. The input has a number of (") quote marks within the data.
The problem I am having is the data is only input into the data table up to the first quote mark (")
Field code:
<input name="data" type="text" class="bodytext" value="a:1:{s:7:i_agree;i:1;}"signup_email_sent";i:1;}" size="32" />
the data I am trying to input is:
a:3:{s:6:"status";a:1:{i:8;i:1;}s:9:"is_active";i:1;s:17:"signup_email_sent";i:1;}
What I need to do is:the code in RED is the value I want to input.
<input name="data" type="text" class="bodytext" value="a:3:{s:6:"status";a:1:{i:8;i:1;}s:9:"is_active";i:1;s:17:"signup_email_sent";i:1;}" size="32" />
Is there away I can make this work.