Help for this page

Select Code to Download


  1. or download this
    if ($kind == 3){
            #Last record
    ...
            #example user_id 
    #        $stmt = "SELECT * FROM ( SELECT * FROM users WHERE user_id <=
    +14999 AND user_id >= 1 ORDER BY user_id DESC LIMIT 1 ) sub ORDER BY u
    +ser_id ASC"; #Works fine hard coded
    
  2. or download this
        $sth = $dbh->prepare ($stmt) or die "Error Preparing:\n" . $stmt .
    + "\nDBI returned: \n", $dbh->errstr;
    
    ...
        my $refresult = $sth->fetchrow_hashref();
        
        my $count = $sth->rows;
    
  3. or download this
    {"DD":"2019-01-30","DP":"2018-12-31","MD":"120.00","MJ":"2018-01-30","
    +address1":"1471 Meeks Rd","address2":null,"business":"JZ 
    
    ...
    
    4378","pin":"JbwmZ","position":"General Member","state":"MI","user_id"
    +:19,"username":"bwm19","zip":"45789-2334"}