Warning: Undefined array key "buscar" in C:\Apache24\htdocs\anteriores\nominas_\controlador\prueba.php on line 5
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in C:\Apache24\htdocs\anteriores\nominas_\controlador\prueba.php:6
Stack trace:
#0 C:\Apache24\htdocs\anteriores\nominas_\controlador\prueba.php(6): mysqli->query('SELECT pkusuari...')
#1 {main}
thrown in C:\Apache24\htdocs\anteriores\nominas_\controlador\prueba.php on line 6