Forum Moderators: coopster
Is there a way? Or maybe is there a php fuction that can only use $_POSTs that starts with "lang" so I'm sure to use only those?
[edited by: Sandro87 at 1:09 am (utc) on June 1, 2009]
<input type="text" name="lang[]" ...>
<input type="text" name="lang[]" ...>
<input type="text" name="lang[]" ...>
in PHP, you can access these values as $_POST['lang'][0], $_POST['lang'][1], etc. or foreach($_POST['lang'] as $lang) { ... }
More info in the faq: [php.net...] Hope this helps