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 Quote Link to comment Share on other sites More sharing options...
Guest prozente Posted April 13, 2007 Share Posted April 13, 2007 $_POST['answer'] = $_POST['textarea1'].$_POST['textarea2']; Quote Link to comment Share on other sites More sharing options...
rhyspaterson Posted April 13, 2007 Author Share Posted April 13, 2007 Perfect! Thank you very much =) 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.