I thought I'd already answered this question but maybe you missed it.  No
you cannot create an array based on 12 forms.  But you CAN create an array
based on 12 form inputs.  For example..

<form method="post" action="script.php">
<select name="files[]">
<option value="image1.jpg">image1.jpg</option>
<option value="image2.jpg">image2.jpg</option>
</select>
<p><br>
<select name="files[]">
<option value="image1.jpg">image1.jpg</option>
<option value="image2.jpg">image2.jpg</option>
</select>
</form>

One form with two identical inputs.  The Square brackets will return the
values in an indexed array called $files.  If register globals is not turned
on you can extract the array from $_POST just as you normaly would.
Hopefully that clears things up.
-Kevin

----- Original Message -----
From: "Jas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 12:34 PM
Subject: Re: [PHP] Assigning unique form names...


> How about this...
> Would I be able to create an array based on the 12 different <FORM
> ACTION="filenames.php" pieces that I need? and then simply call a
different
> array result for each filenames.php?  If so how could i do this, sorry to
be
> such a pain but I am trying everything I know and this seems like it
should
> work, but then again what do i know.
> Jas
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to