Help for this page

Select Code to Download


  1. or download this
     my $t_dt = $ARGV [0];
      my $t_price = $ARGV [1];
    my $ins_r = "INSERT INTO $tbl_name (t_dt, t_price) VALUES (?,?);";
    $sth=$dbh->prepare($ins_r) or die $dbh->errstr;
    
  2. or download this
    my $t_dt=strftime('%Y-%m-%d %H:%M:%S',localtime);