[ic] fast perl-question

René Hertell interchange-users@icdevgroup.org
Sat Jul 6 05:40:02 2002


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>";
   }


Regards, René