bluwe Posted February 8, 2007 Share Posted February 8, 2007 I'm trying to pass a variable from one page to another using POST. On the first page the variable has a value of "hello my friend" on the second page when I echo the posted variable I just get "hello" Any ideas why this might be? Cheers, James Link to comment https://forums.phpfreaks.com/topic/37677-post-variable-truncated/ Share on other sites More sharing options...
trq Posted February 8, 2007 Share Posted February 8, 2007 More than likely your html is not well formed. Make sure the value is surrounded by quotes. eg; <input type="text" name="foo" value="bar"> Link to comment https://forums.phpfreaks.com/topic/37677-post-variable-truncated/#findComment-180212 Share on other sites More sharing options...
bluwe Posted February 8, 2007 Author Share Posted February 8, 2007 Exactly right. Cheers buddy! Link to comment https://forums.phpfreaks.com/topic/37677-post-variable-truncated/#findComment-180216 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.