Hi!
I have a php form in which some textareas area available.
When the form is submitted, the variable will then pass to another
php file called api_something.php
For instance, the name/id of the text area are:
langContent1
langContent2
langContent3
So, in api_something.php, the variable can be read as following:
$langContent1 = $POST["langContent1"];
$langContent2 = $POST["langContent2"];
$langContent3 = $_POST["langContent3"];
I wonder. If I have more similar variable in $langContent series such as
$langContent4, 5, 6....
Is it possible to use pass an array of variables instead 1 by 1?
I have tried session to store and pass the variable. However, if I change the content in langContent1,2,3 , the changed information is only reflected in $_POST. Is it possible to treat these variables more intelligently? I have tried a bit with limited knowledge. I think I should have asked some expert and avoid to flog a dead horse.
Thanks a lot.