I have a form on my website
(http://www.nprie.info/content.php?pn=12&frm3~5). When the user submits
the form various validation checks are completed by another PHP script.
If any of these fail, the user is redirected back to the form. The
content that they submitted is retained and sent back in the URL and
picked up by another script and inserted into the fields.
My problem is with memo fields as this method of returning the data
seems to chop off anything after the first newline or carriage return.
I presume it would be better to POST this information back but how do I
do this from PHP without a SUBMIT button???
Many thanks for your continued help.
Hope all that makes sense - see the website which should clarify the
process.
p.s. the &frm3~5 in the link simply ensures that my name appears in the
"TO" box so if you test the script spurious messages don't go to my
colleagues.
(http://www.nprie.info/content.php?pn=12&frm3~5). When the user submits
the form various validation checks are completed by another PHP script.
If any of these fail, the user is redirected back to the form. The
content that they submitted is retained and sent back in the URL and
picked up by another script and inserted into the fields.
My problem is with memo fields as this method of returning the data
seems to chop off anything after the first newline or carriage return.
I presume it would be better to POST this information back but how do I
do this from PHP without a SUBMIT button???
Many thanks for your continued help.
Hope all that makes sense - see the website which should clarify the
process.
p.s. the &frm3~5 in the link simply ensures that my name appears in the
"TO" box so if you test the script spurious messages don't go to my
colleagues.
Comment