Posted by Bzdziul on 05/24/05 16:01
Użytkownik "Craig Keightley" <dont@spam.me> napisał w wiadomości
news:429306d5$0$290$cc9e4d1f@news-text.dial.pipex.com...
> I have two elements in a form , a text area (justification[]) and a hidden
> field (prodID[])
> I have the following code as a test:
> foreach($_POST['justification'] as $reason) {
> echo $reason."<br>";
> }
> foreach($_POST['prodID'] as $pID) {
> echo $pID."<br>";
> }
for($i=0;$i<count($_POST['prodID']);$i++)
echo $_POST['justification'][$i].' - '.$_POST['prodID'][$i];
[Back to original message]
|