classes.other/PSM.php
/*Checks if details are correct from first & second.*/
Checks if details are correct from first & second.
Checks if details are correct from first & second .
public function correct( $first, $second )
      {
        $data = $this->psm->data(
          "SELECT id FROM {$this->table} WHERE {$this->first} = :fir AND {$this->secnd} = :snd",
          [':fir' => $first, ':snd' => $second]
        );
      }
public function correct ( $ first , $ second ) { $ data = $ this -> psm -> data ( " SELECT id FROM  { $ this -> table }  WHERE  { $ this -> first }  = :fir AND  { $ this -> secnd }  = :snd " , [ ':fir' => $ first , ':snd' => $ second ] ) ; }
Checks if details are correct from first & second.
Checks if details are correct from first & second .