Hi there,
I have a form divided into multiple stages. When a stage is completed the form is posted and the posted values are added to the next form as type = Hidden. I have a problem at the moment in that I'm posting some data from text fields which may contain double quotes = "Example". When the form is submitted it loads the next form and adds these fields as hidden fields. Unfortunately I'm finding that after this stage, any data enclosed in double quotes and the double quotes themselves have vanished and will not be inserted in the database. So, user types
and submits, the next stage of the form is loaded, I have examined the posted data at this point and it is correct. Posted value is added to new form as a hidden field =
<input type=\"hidden\" name=\"summary\" value=\"$_POST[summary]\" />
User then submits this, at the next stage, when the data should be inserted into the database, the posted summary reads
test [/QUOTE]and this is what will be inserted in the database.
I'm a bit confused by this, any help would be much appreciated.