Re: Question about arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 12, 2007 3:59 PM, Jason Pruim <japruim@xxxxxxxxxx> wrote:
[snip]
> echo <<<HTML
>         <form method='GET' action='index.php'>
>                 <P></Number of text boxes needed: <input type='text' size='5'
> name='txtNumber' value='{$TextBoxes}'>
>         <input type='submit'></P>
>         </form>
>         <form method='POST' action='index.php'>
>         <P>Weight of 100 pieces: <input type='text' size='5' name='txtWeight'
> value='{$pieceWeight}'></p>
>         <table>
>         <tr>
>         <td>Route #</td>
>         <td>Pieces per route</td>
>         <td>Weight of route</td>
>         </tr>
> HTML;


    Why do you have two FORM attributes doing the same thing, going to
the same place here?  It will only submit data from within the form
you're hitting the button.




-- 
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux