$query = '' . 'SELECET * FROM notlar WHERE id=\'1\'';

$query = '' . 'SELECT * FROM notlar WHERE id=\'1\'';

yazım hatası...