codeguardian Posted November 18, 2008 Share Posted November 18, 2008 I am trying to post data to PHP using ActionScript. I can do this by sending a string. But all is received in the first var. I have tried looking it up can not find how to format multiple var to PHP. Right now i am using a string: "title="+title.text+"\n desc="+desc.text; when i echo a reasons i get: "myTile desc = myDesc"; they are all returned to $_POST['title']. So I just need to know how to send multiple values to PHP??? Quote Link to comment https://forums.phpfreaks.com/topic/133244-posting-data-to-php/ Share on other sites More sharing options...
corbin Posted November 18, 2008 Share Posted November 18, 2008 You need to escape the linebreak. Linebreaks can't be sent in POST data. Quote Link to comment https://forums.phpfreaks.com/topic/133244-posting-data-to-php/#findComment-693033 Share on other sites More sharing options...
codeguardian Posted November 19, 2008 Author Share Posted November 19, 2008 Wow I must of not been thinking clear. Of course user "&" between. ??? Quote Link to comment https://forums.phpfreaks.com/topic/133244-posting-data-to-php/#findComment-693263 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.