Forums

[resolved] Strange Question (4 posts)

  1. thisisedie
    Member
    Posted 2 years ago #

    I have a strange question. For instance, I'm using:

    if ($post->ID == '78' || $post->ID == '81'|| $post->ID == '73') continue;

    to skip certain pages in my query. Is it possible that this might not work in all browsers?

  2. Chris_K
    Member
    Posted 2 years ago #

    With the assumption that your line of code (above) is in between <?php and ?> tags... it all happens server-side. Browser shouldn't be an issue since the code has already been rendered by the server.

  3. thisisedie
    Member
    Posted 2 years ago #

    Oh yes, it's between the proper tags. I was just curious if it's possible for code to not work in certain browsers.

  4. I was just curious if it's possible for code to not work in certain browsers.

    Anything is possible, but since the code is controlling what your page shows, I can't really think of a way that a browser would do something else in that situation.

    UNLESS you have some fancy coding that says 'If IE, show pages 79, 80 and 72' of course :)

    You should be fine.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.