Re: Question about arrays
| From: | Daniel Brown | Date: | Mon, 12 Nov 2007 21:14:24 +0000 |
| Subject: | Re: Question about arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264394@lists.php.net to get a copy of this message | ||
On Nov 12, 2007 3:59 PM, Jason Pruim <japruim@raoset.com> 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.