Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '{result.id_asistente}' at line 1 in /home/www/vhosts/anciasistweb/anciasist/includes/control.php:121 Stack trace: #0 /home/www/vhosts/anciasistweb/anciasist/includes/control.php(121): PDOStatement->execute() #1 /home/www/vhosts/anciasistweb/anciasist/asistente/index.php(25): listar_asistente('${result.id_asi...') #2 {main} thrown in /home/www/vhosts/anciasistweb/anciasist/includes/control.php on line 121