2 ms·
> PHP mixed with HTML was one of the "bad ideas" that hurt PHP. It was a bad practice that got out of hand. PHP receives its share of criticism, and HTML lives
by mrkeen 3y ago
> PHP mixed with HTML was one of the "bad ideas" that hurt PHP. It was a bad practice that got out of hand.
PHP receives its share of criticism, and HTML lives on relatively unscathed.
So if mixing PHP/HTML is a problem, you'd probably throw out the PHP and keep the HTML.
Also, isn't this use case PHP's origin? A dev wanted some programmable HTML?