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? Quote 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. Quote 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! Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.