sknagesh Posted March 14, 2011 Share Posted March 14, 2011 Hi all I am populating a List menu with values from Mysql table. The values are populated correctly. Once a selection is made and upon submit when I display POST submit values using print_r($_POST) the result is correct only when the value do not contain spaces. For example if the list selection is "One" the $_POST[sel] value is correct. But if the selection is "Two Three" it is only first part before space. How do I get it to give complete value as in the list. Thanks and Regards SKN Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted March 14, 2011 Share Posted March 14, 2011 Most likely, your HTML is missing some quotes around the values and the space character is serving as a break character rather than as part of the data. Quote Link to comment 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.