real_escape_string( $_POST["pseudo"] );
if ( strlen( $pseudo ) ):
$query = "call spZoekPseudoniem('" . $pseudo . "')";
if ( $result = $db->query( $query ) ):
if ( $result->num_rows ):
?>
id |
surname |
givenname |
username |
password |
pseudoniem |
fetch_object() ):
echo '' . PHP_EOL;
echo '' . $row->id . ' | ';
echo '' . $row->surname . ' | ';
echo '' . $row->givenname . ' | ';
echo '' . $row->username . ' | ';
echo '' . $row->password . ' | ';
echo '' . $row->pseudoniem . ' | ';
echo '
' . PHP_EOL;
endwhile;
?>