![]() |
Hi everyone, i'm trying to use php to set dynamic variables in css, for context i'll explain better:
- The controller passes variable to view(taken with queries from database) - The view echoes a .php file(with the variable from controller) that contains some php code and css When debug is active every echoed view is surrounded by an html comment with debug view informations that breaks css. I already tried with debug disabled from config and it works, so it's not my code fault but i'd like to keep debug toolbar on because i find it useful. So here's my question: does anyone know a way or a function that echoes a view without debug comments while debug is active? If you're reading this, thank you for your time and sorry if my english is not perfect. (06-01-2024, 05:10 AM)kenjis Wrote: Set $options. It's exactly what i needed and it's working, thank you very much kenjis, next time i'll accurately check the docs. |
Welcome Guest, Not a member yet? Register Sign In |