• Welcome to The Cave of Dragonflies forums, where the smallest bugs live alongside the strongest dragons.

    Guests are not able to post messages or even read certain areas of the forums. Now, that's boring, don't you think? Registration, on the other hand, is simple, completely free of charge, and does not require you to give out any personal information at all. As soon as you register, you can take part in some of the happy fun things at the forums such as posting messages, voting in polls, sending private messages to people and being told that this is where we drink tea and eat cod.

    Of course I'm not forcing you to do anything if you don't want to, but seriously, what have you got to lose? Five seconds of your life?

Search results

  1. Diz

    Another Styleswitcher fail

    Oh, ok. Its good since I didn't do that. Aww, heck with it. I'm going back to Javascript
  2. Diz

    Another Styleswitcher fail

    Sorry, but double post so that people see this Could it be that my styleswitcher isn't working because I don't have <style></style> tags around my php?
  3. Diz

    Another Styleswitcher fail

    BLAST! these types of things allllways give me trouble.
  4. Diz

    Another Styleswitcher fail

    Ok, I tried that, and, when I went to the about me page, where I put the stuff you told me. When I went there, the page was still plain black and white. When I clicked the link to change the style, it displayed the default style, but on my home page. I then clicked to change the style to...
  5. Diz

    Another Styleswitcher fail

    So I put the site on hiatus so that we can get this fixed without people seeing our failed attempts. <?php $style[1] = 'http://ditto.ifastnet.com/stylesheet.css'; $style[2] = 'http://ditto.ifastnet.com/stylesheet2.css'; $style[3] = 'http://ditto.ifastnet.com/stylesheet3.css'...
  6. Diz

    Another Styleswitcher fail

    So I did the second thing, the part about styleswitcher.php, and it didn't work. So I changed this: if(!isset($_COOKIE['style'])) { $no = 1; } And then my page returned to it's original non-formatted self. I didn't do anything with this: <link rel="stylesheet" href="<?php echo...
  7. Diz

    Another Styleswitcher fail

    Gotcha! And it's still not working. The normal style shows up fine on the home page, but on any other page, plain black and white. And when I click on a style, it takes me back to the home page, with the normal style my about me file is an example of this this is its code <?php $style[1]...
  8. Diz

    Another Styleswitcher fail

    Okay, so I do that, and then when I click on the link on my actual page, it takes me to my 404.
  9. Diz

    Another Styleswitcher fail

    Does that go on every page also? or just the place where the choice of style is made?
  10. Diz

    Another Styleswitcher fail

    Well, I was e-mailing with Peter, and I got it fixed! Or at least the default style appears. When I click the links to some of the other styles, the page refreshes, but the default style shows up again.
  11. Diz

    Another Styleswitcher fail

    Which bracket? Oh, duh. Nevermind that. Ok, so when I corrected that, and added it to my pages, I opened up the file on my own system, and this is what I saw: "; } else { print ""; } ?> and then the rest of my page, with no formating. Does this help?
  12. Diz

    Another Styleswitcher fail

    <?php ('error_reporting', E_ALL); if(isset($_COOKIE['style']){ $no = intval($_COOKIE['style']); $style['1'] = 'http://ditto.ifastnet.com/stylesheet.css'; $style['2'] = 'http://ditto.ifastnet.com/stylesheet2.css'; $style['3'] = 'http://ditto.ifastnet.com/stylesheet3.css'...
  13. Diz

    Another Styleswitcher fail

    So then it must be my host that has the problem, because I fixed all of my files so that they all have that in them, and still all of my pages show up blank. See for your self! http://ditto.ifastnet.com/home.php
  14. Diz

    Another Styleswitcher fail

    er....Thats great and all, but I already have changed my files so many times, if you could just look at my scripts, tell me whats wrong with them and very specifically tell me what to do to fix them? Please and thanks. I do know nothing at all about PHP
  15. Diz

    Another Styleswitcher fail

    <?php if(isset($_COOKIE['style']){ $no = intval($_COOKIE['style']); $style['1'] = 'http://ditto.ifastnet.com/stylesheet.css'; $style['2'] = 'http://ditto.ifastnet.com/stylesheet2.css'; $style['3'] = 'http://ditto.ifastnet.com/stylesheet3.css'; $style['4'] =...
  16. Diz

    Another Styleswitcher fail

    <html> <head> <title>Ditto's Docks</title> <?php if(isset($_COOKIE['style'])){ $no = intval($_COOKIE['style']); $style['1'] = 'http://ditto.ifastnet.com/stylesheet.css'; $style['2'] = 'http://ditto.ifastnet.com/stylesheet2.css'; $style['3'] =...
  17. Diz

    Another Styleswitcher fail

    Oh, that cool, but how is it going to fix my problem? I was e-mailing with Nick, the person who wrote the guide I used, and he helped me with a bit. This is what I have so far: <?php if(isset($_COOKIE['style'])){ $no = intval($_COOKIE['style']); $style['1'] =...
  18. Diz

    Another Styleswitcher fail

    Yeah, I realized that, and fixed it so that it is now stylesheet.css I think I may have found the problem, but I don't know how to fix it. You see, I looked at the source of my pages, and the PHP I entered doesn't show up. However, when I open my FTP client, and look at the file that I have...
  19. Diz

    Another Styleswitcher fail

    Woah. Thanks for the help, though. EDIT: I checked, and my ftp client says that styleswitcher.php does exist
  20. Diz

    Another Styleswitcher fail

    You might not remember this, but I was epic fail at the Java Script styleswitcher, and now I'm working on a PHP one. I followed the guide on this page. Is there something missing? In case that isn't enough, here's my code: <?php $style['1'] = 'stylesheet.css'; $style['2'] =...
Back
Top Bottom