Cita: select * from where id='' OR cedula=''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 'where id='' OR cedula=''' at line 1
Falta indicar la tabla. Al parecer tu variable $tabla no está trayendo el valor que requieres con el nombre de la tabla.
Un saludo,