Conflict PHP and XHTML
3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 27, 2012 (RSS)
By ThreeTree - June 26, 2012
I need clarification on setting up the doctype. I have a text page with CMS Builder installed for the copy. Am getting error messages from Expression Web indicating that XHTML coding is not allowed (closing tags) with PHP. I'm adding CMS Builder to an existing website. Would appreciate it if someone would look at the source of the test page and let me know if I can use XHTML with PHP or if I need to change the basic code to HTML or if I've inserted the CMS code incorrectly. http://mysacredmovement.com/test_index2.php
Re: [ThreeTree] Conflict PHP and XHTML
By Jason - June 26, 2012
Hi,
I took a look at your page, and I don't see any errors. Can you provide and example of the kind of error you are getting. Since PHP is executed on the server before being sent to the requesting browser, there isn't any conflict between PHP code and HTML (or XHTML) markup.
Hope this helps
I took a look at your page, and I don't see any errors. Can you provide and example of the kind of error you are getting. Since PHP is executed on the server before being sent to the requesting browser, there isn't any conflict between PHP code and HTML (or XHTML) markup.
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] Conflict PHP and XHTML
By ThreeTree - June 27, 2012
The Expression Web message I get is:
"This element is not allowed to be self closing in the current schema. Remove the closing slash."
But page displays in browsers just fine without removing the closing slash and retaining the XHTML code convention. Think this may just be an issue with Expression Web and that I can safely ignore.
"This element is not allowed to be self closing in the current schema. Remove the closing slash."
But page displays in browsers just fine without removing the closing slash and retaining the XHTML code convention. Think this may just be an issue with Expression Web and that I can safely ignore.