PHP Code Not Rendering Properly on Website, Appearing as Commented Out in Source Code
Just like in the heading of this post, I am trying to write some PHP inside HTML, but it doesn't show up on the webpage. However, when I use only PHP without HTML, it works properly...
What do to?
Posted Dec 29, 2023, 4:30 PM UTC
18
A starter would be to show some formatted examples of what you are talking about and describe the setup you are using.
Hello, I solved the problem.
The problem is because the PHP code was being read as a string.
It's generally considered polite to explain your solution for any future person who finds your post.
Da, da, ali stvorio sam sustav php prevoditelja za predloške.
Doesn't really explain it ...