Posted by luke on 07/26/05 03:31
Doh! Noticed a bug already.
> Change the following:
> Into this:
>
> $A="OR symb LIKE . "$_POST['A'];
> $u="OR symb LIKE . "$_POST['u'];
> $B="OR symb LIKE . "$_POST['B'];
Sorry, you'll have to change that suggestion, if the 'switch' is to work as
intended.
Instead, change to:
if ($_POST['A']) { $A="OR symb LIKE . "$_POST['A']; }
if ($_POST['u']) { $u="OR symb LIKE . "$_POST['u']; }
if ($_POST[B]) { $B="OR symb LIKE . "$_POST['B']; }
And so on for the remaining variables
[Back to original message]
|