When it comes to standards, I like to comply. As such, when I make an XHTML document, I begin it with this:
However, this creates a problem. Whenever I try to put PHP code using <?php ... ?> the site will give me an error about the PHP parser on line 1, where the <?xml> tag is. Short of removing that tag, are there any work-arounds?
Thanks!
Code:
<?xml version="1.0" encoding="UTF-8"?>
However, this creates a problem. Whenever I try to put PHP code using <?php ... ?> the site will give me an error about the PHP parser on line 1, where the <?xml> tag is. Short of removing that tag, are there any work-arounds?
Thanks!