Help for this page

Select Code to Download


  1. or download this
    Rk::M->set_sql(maxid => q(select max(m) from m)); 
    my $sth = Rk::M->sql_maxid;
    $sth->execute;
    my ($max) = $sth->fetchrow_array;
    
  2. or download this
    Rk::M->set_sql(maxid => q(select max(m) from m)); 
    my $max = Rk::M->maxid;