Eccentricson Posted October 25, 2013 Share Posted October 25, 2013 I have a PHP/HTML form, one of the fields isn't sending the entire string on submit, instead it's only sending the first word before the first space. I can't find out why.. <span id='MitigationOnTrack'><input type='text' name='mitigation[$row_id][status]' value=". $data['status'] ."></span></td> Any ideas? Link to comment https://forums.phpfreaks.com/topic/283258-php-html-form-not-submitting-full-string/ Share on other sites More sharing options...
requinix Posted October 25, 2013 Share Posted October 25, 2013 You have to put quotes around HTML attribute values. Like you did for the span's id and the text box's type and name. Link to comment https://forums.phpfreaks.com/topic/283258-php-html-form-not-submitting-full-string/#findComment-1455337 Share on other sites More sharing options...
Eccentricson Posted October 25, 2013 Author Share Posted October 25, 2013 You have to put quotes around HTML attribute values. Like you did for the span's id and the text box's type and name. Got it, thanks so much! Link to comment https://forums.phpfreaks.com/topic/283258-php-html-form-not-submitting-full-string/#findComment-1455418 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.