[ic] fast perl-question

Stefan Hornburg Racke interchange-users@icdevgroup.org
Sun Jul 7 14:24:00 2002


René Hertell <interchange-users@hertell.com> writes:

> Hi,
> 
> Could someone help me with this if-statement. I can get it to work only with
> the first case (vip), but not with the rest... I want to get the flex-select
> page to pull out values for my foreign keys.
> 
> if (($CGI->{mv_data_table} eq {'vip'}) or ($CGI->{mv_data_table} eq
> {'others'}))
>    {
>       $out .= "<TD valign=top $extra>[data table='users' col='name'
> key='$_']</TD>";
>    }
> else
>    {
>       $out .= "<TD valign=top $extra>$_</TD>";
>    }

 if ($CGI->{mv_data_table} eq 'vip' || $CGI->{mv_data_table} eq 'others') {
     $out .= "<TD valign=top $extra>" . $Tag->data('users','name',$_)
. '</TD>';
} 

Ciao
        Racke

-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT 
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or 
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.