/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

anonymous

0

// mysql: stamp: BIGINT(20)
// sample value: 20160822081949''
$lastStamp = $row['stamp'];
$stamp = substr($lastStamp,6,2).".".substr($lastStamp,4,2).".".substr($lastStamp,0,4)." ".substr($lastStamp,8,2).":".substr($lastStamp,10,2).":".substr($lastStamp,12,2);
 

Browse all snippets