Need Help for php script

I want to know that can i use inline css like that ??


Just my personal opinion as far we know inline css not allowed. So, you can set attribute as like aria-valuewidth=“PHP VALUE” and take the value using jQuery and set css width using jQuery.


1 Like

Inline CSS should be fine for PHP scripts as long as they’re properly escaped.

To answer your question though, the code in your screenshot is using Laravel’s Blade template engine. You can also use Twig to do much of the same.

1 Like