el fallo esta aqui
Código PHP:
$query = " SELECT * FROM '".$_GET["tabla"]."' ";
en la consulta sql me dice esto
Undefined index: tabla in E:\wamp\www\escuela\mostrar-galeria.php on line 14
Error en la consulta: 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