crf121359 Posted March 22, 2012 Share Posted March 22, 2012 Hello, its a bit difficult to explain the issue that I have but I will try my best. I have this small code $message = $_POST['message1']; in my php code and message1 is the name of a textarea in my page. i also have another textarea called message2 in my page. what I need to do is to use the message1 and message2 in the $message = $_POST function. For example: $message = $_POST['message1'] + $_POST['message2'] or anything that is acceptable in PHP coding and works in PHP. I hope I havent confused you guys and you undersstood what I mean... Thanks Link to comment https://forums.phpfreaks.com/topic/259526-please-help-with-double-_post-function/ Share on other sites More sharing options...
rythemton Posted March 22, 2012 Share Posted March 22, 2012 In PHP the concatenate operator is the period(.) so you'd use $_POST[ 'message1' ] . $_POST[ 'message2' ]. Link to comment https://forums.phpfreaks.com/topic/259526-please-help-with-double-_post-function/#findComment-1330350 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.