Hey,
I can't find much on this, and everything I have tried has failed.
Basically, I need to have the page decide what HTML element to display given the PHP condition.
I intended to simply create an if statement. However, "include ('include/example.html')" does not work, it just doesn't do it. I'm assuming that's due to the mix of languages.
The HTML elements include a very large amount of code, so I can't have it all on that page.
Any ideas?
I can't find much on this, and everything I have tried has failed.
Basically, I need to have the page decide what HTML element to display given the PHP condition.
I intended to simply create an if statement. However, "include ('include/example.html')" does not work, it just doesn't do it. I'm assuming that's due to the mix of languages.
The HTML elements include a very large amount of code, so I can't have it all on that page.
Any ideas?









