Hi
Yes, I see your point.
Guess I'm way too trusting a person, should think like a criminal...
So you're basically saying I should always place sensible "default
values" in my script and then compare the $_POST vars, else stick to the
default, ie, have the $_POST overwrite your default before the
Following works nicely for me now, thanks all!
connect("localhost","user","password","table");
$table_name = "main";
if ($_POST[any_all] == "any") {
$logic = "or";
}
elseif ($_POST[any_all] == "all") {
$logic = "and";
}
elseif ($_POST[any_all] == "exact") {
$logic = "exact
Sheer genius my man!
Thanks!
On Mon, 2003-07-14 at 13:38, Tom Rogers wrote:
> Hi,
>
> Monday, July 14, 2003, 9:11:11 PM, you wrote:
> PA> HI list
>
> PA> Is there an elegant way to know when the last time through the loop is
> PA> going to be and to do something else?
>
>
> PA> I want to sear
3 matches
Mail list logo