rhyspaterson Posted April 13, 2007 Share Posted April 13, 2007 Hey guys, Been looking through the PHP manual but can't seem to figure this one out. Doing some changes to our KB in our company where we submit articles. Currently you write in a text box and it is then submitted through php: $_POST['answer'] = $_POST['textarea1']; However. If we were to add two text boxes, one for say a brief summary of the question, and one for the full description, how could we modify the above code to include both in the answer? Such as: $_POST['answer'] = $_POST['textarea1', 'textarea2']; Which doesn't work obviously, heh. Any suggestions, or even just pointing me in the right direction in terms of a guide would be very much appreciated! Thanks, /Rhys Link to comment https://forums.phpfreaks.com/topic/46815-solved-_post/ Share on other sites More sharing options...
Guest prozente Posted April 13, 2007 Share Posted April 13, 2007 $_POST['answer'] = $_POST['textarea1'].$_POST['textarea2']; Link to comment https://forums.phpfreaks.com/topic/46815-solved-_post/#findComment-228207 Share on other sites More sharing options...
rhyspaterson Posted April 13, 2007 Author Share Posted April 13, 2007 Perfect! Thank you very much =) Link to comment https://forums.phpfreaks.com/topic/46815-solved-_post/#findComment-228208 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.