The method below stores data in the array $info
public function getName($argument){ $sql = "SELECT name, FROM database WHEREcode=\'$input\'"; $stmt = $