PHP - Validación if...else si existe una tabla

Filtrado por el usuario: CARLOS
<<>>
Filtrado por el usuario 'CARLOS' (Eliminar fitro)
 
Vista: