|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Trouble with PHP includes and XHTML validating ...
My first question on DA
Hope it was ok to post it here ...Trying to validate my new template against XHTML Transitional ... I started at about 702 errors and now Im down to ... 32. Lol! Anyway I've figured out that all the errors that are left have something to do with my "includes", of which there are 3 on the page. Trouble is that includes ... well "include" the source code form the included page as client side, obviously. The official validator at w3.org doesnt know this though. Is this a normal thing ? Or is there a proper way I'm supposed to "bypass" this or what ? Anyways the validator is at: http://validator.w3.org/ and the template page is at: http://www.ramsaygraphix.com/v4test/news.php If you try it out, auto detect should work fine, you'll see 32 errors. All having to do with php includes. What do I need to do to fix these errors ? Can any1 help me out ? Thanks a bunch! |
|
#2
|
|||
|
|||
|
Quote:
Were you tring to have it look at a local file? If so, don't becuase it will see ALL php.. upload it so it's live on the web and then run it ![]()
__________________
Eric Coleman - Co-Owner ZaireWeb Solutions eric.coleman@zaireweb.com http://sitemod.net - sitemodCMS Coming Soon! |
|
#3
|
|||
|
|||
![]() I'm sorry about that, it was 1:30 am when I finally got it fixed with a friend, and I was so damn tired byt the time I was done I forgot to post here again to say it worked out successfully. Thank you for trying though I'm glad its finally over. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Trouble with PHP includes and XHTML validating ... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|