RE: [PHP] Logic problem (I think) SOLVED
| From: | Patrick Kirk | Date: | Fri, 23 Aug 2002 17:40:32 +0000 |
| Subject: | RE: [PHP] Logic problem (I think) SOLVED | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113822@lists.php.net to get a copy of this message | ||
Michael Hazelden said:
> Patrick ...
>
> Really simple
>
> You have the element on your form called Grouping ... no matter what's
> selected on it - you'll get something for $grouping because it's a drop
> down list.
>
> Hence why it's doing that first. Call it something else - or change your
> logic.
Michael,
:%s/grouping/formGrouping/gc and the problem went away. Thank you. And
thanks to those who got me to the point of seeing it was a logic error.
Patrick