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 Quote Link to comment 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"> Quote Link to comment Share on other sites More sharing options...
bluwe Posted February 8, 2007 Author Share Posted February 8, 2007 Exactly right. Cheers buddy! 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.