I'm having some trouble with a html form passing through some ID strings for some entries.
My form checkboxes are as such.
<input type="checkbox" name="ident[]" value="text-1234-1234-12">
<input type="checkbox" name="ident[]" value="text-4567-4567-45">
now, say my php script reads as such.
<?
$brochure = $_REQUEST[brochures];
echo $brochure[0];
?>
my output is '1234-1234-12'
i've tried some other different values in the form and have come up with these results.
value - php output
aaa - aaa
111 - 111
aaa111 - 11
111aa - a
111aaa - aa
first one - t one
it seems to be cutting off the first 4 characters each time if the value is over 4 characters long. Does anyone have any ideas on this?
Thanks,
Kris