Jump to content

[SOLVED] $_POST


rhyspaterson

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.