jquery - PHP-serialized String is cutted -
i have form send via ajax. in form put values php-serialized-string in hidden input.
<input type="hidden" name="userdata" id="userdata" value="<?php echo serialize($userinput); ?>">
now when send form..
let data = $('#step-4 :input').serialize(); $('#step-5').load('php/send.php?data='+data, function() { ...
the serialized string somehow cutted..
[userdata] => a:13:{s:6:
and can't figure out why(?)
serialize()
data contains quotes, there"
aftera:13:{s:6:
s:6
says 6 char string follow, , has terminated htmlvalue="
attribute @ point – riggsfolly aug 8 '16 @ 13:21