Jump to content

rosslad2011

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

rosslad2011's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Then you should have stated that from the beginning. I did..... And I don't see how this is a needless exercise? The rest of your post was not very helpful at all. It is obviously not as straight-forward as you say and your example has nothing to do with what I am trying to do at all. I am trying to not include a piece of PHP if javascript is disabled literally 2 lines of PHP and everything is built FIRST I am just trying to change one thing! So you build a site and then down the line you think of something that could make the site run smoother but because you didn't think of it in the beginning as you already built it you think I'm not going back to change that regardless?
  2. Thanks for the replies. I am trying to make my site seamless for those who may have javascript disabled, Unfortunately there are those who also don't accept cookies as much as I like the cookie solution. Also yes I don't want to include a file using javascript I want to only include the file / set a piece of php if javascript is disabled which after searching and trying all day I am finding is not as simple as I imagined....
  3. Hi there, Sorry if this is the wrong forum to post this in, If it is please feel free to move it to the correct one. I have a php page and I am trying to get a couple of lines to only be run if Javascript is disabled on the visitors browsers. $returnpage = 'myphppage.php'; include('anotherphppage.php'); It is something probably simple but I can't see it... I have tried: <noscript> <?php $returnpage = 'myphppage.php'; include('anotherphppage.php'); ?> </noscript> but that does not seem to work and I was hoping someone here would have an idea... Many thanks in advance Ross
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.