its works!!

thanks alot guys, i have tried with this codes:

array1.php
----------

<FORM METHOD=POST ACTION="array2.php">

<?php
for($i=1; $i<=3; $i++)
{
        for($j=1; $j<=3; $j++)
        {
?>
<SELECT NAME="<?php echo "try[$i][$j]" ?>">
<OPTION value="1">One
<OPTION value="2">Two
<OPTION value="3">Three
<OPTION value="4">Four
<OPTION value="5">Five
</SELECT>
<?php
        }
}
?>
<INPUT TYPE="submit" value="NEXT">
</FORM>

array2.php
----------

<?php
for($i=1; $i<=3; $i++)
{
        for($j=1; $j<=3; $j++)
        {
                echo $try[$i][$j];
                echo "<BR>";
        }
}
?>

and the output are come out in the array2.php
since the output can printed out, means that this page (array2.php) can
receive these variable and we can send the values of these variable to
mysql.

thanks

-rizki-


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

Reply via email to