Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] results page



******    message to minivend-users from Andreas Kotowicz <koto@mynetix.de>     ******

Am Sun, 11 Jun 2000 schrieben Sie:

> [seti flag]0[(seti]
> [seti end]0[(seti]

doesn't that have to be:

[set flag]0[/set]
[set end]0[/set]


> <TABLE>
>
> [search-list]....
>
> [perl arg=scratch]
> my $out = "";
> if($Safe{´scratch´}->{´flag´} == 0) {

I changed the 'scratch' 'flag' things to scratch flag because minivend 
complains about ''

>    $Safe{´scratch´}->{´flag´} = 1;

it must be 0 instead of 1, or just leave out the line

>    $out = "<TR>";
>   }
> [/perl]

> some <TD></TD> stuff...
>
> [perl arg=scratch]
> my $out = "";
> if($Safe{´scratch´}->{´flag´} == 0) {
>    $Safe{´scratch´}->{´flag´} = 2;
>    $Safe{´scratch´}->{´end´} = 1;
>   }
>   else {
>    $Safe{´scratch´}->{´flag´} = 0;
>    $Safe{´scratch´}->{´end´} = 0;
>    $out = "</TR>";
>   }
> [/perl]
>
> [/search-list]
>
> [if scratch end == 1]
> </TR>
> [/if]


with the modifications it works for me. but I get always display a "1".  you 
know how to get rid of it?

andreas
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: