Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Validator does not see the added content

Validator does not see the added content

Validator does not see the added content

For all the subpages with the parameter of the GET charged me with some content-dependent file name of the page and the selected language. The problem is not the script but its visibility through the validator, because on this website, does not see the validator that the party index_content has been loaded and displays the code as:

CODE --> html

<table class="contentpaneopen">   // there should be loaded index file content, and indeed it is, but the validator can not see


My code of index.php (the only important part):

CODE --> php

<table class="contentpaneopen">

                                        $album = $_GET['album'];

                                        if (!empty($page) && empty($album)) {
                                            include ($langs . '/' . $page . '.php');
                                        } else if (($page == 'gallery_album') && !empty($album)) {
                                            include ( 'galeria/' . $album . '.html');
                                        } else if (empty($page) && empty($album)) {

                                            include ($langs . '/' . 'index_content.php');
                                        } else {
                                            include ($langs . '/' . 'index_content.php');


Once again, the page works properly index the content is loading, but why validator can not see? how to make saw. And if not, how to eliminate a bug in validatorze, but without deleting the table, just by typing there something that does not spoil other subpages, and does not add any apparent content. :>

RE: Validator does not see the added content

'validators' only see the "hard code" served out in response to the user agent HTTP: request. They do not run javascript or parse and render CSS, the only thing a validator does is act as a "spelling and grammar check" for HTML and CSS code

And really, your question should be in forum215: HTML, XHTML & CSS as it is nothing at all to do with PHP.


Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close