Jump to content

Sniffy

Members
  • Posts

    403
  • Joined

  • Last visited

Posts posted by Sniffy

  1. I just did a test and my PHP file displays in IE without having to 'download' the file, but the contents are blank.test.php

    <html><head></head><body><?phpecho "hello world";?></body></html>

    As I said, I haven't changed anything, so what's wrong?

  2. If you install WAMP it will install everything you need to use PHP.
    Okay, so I downloaded WAMP and conText(Which is soooo good by the way) so now I have everything I need to start running PHP scripts on my computer?I just picked all of the default settings in installation except my email, is there anything I need to change, or might need to change?I didn't touch any of the settings on the actually program itself either.
  3. <html><head><script>function changeBBCODE(){if(document.getElementById("my_table").style.display == "none"){document.getElementById("BBCODEchanger").innerHTML = "Click to hide";document.getElementById("my_table").style.display = "inline";}else if(document.getElementById("my_table").style.display == "inline"){document.getElementById("BBCODEchanger").innerHTML = "Click to show";document.getElementById("my_table").style.display = "none";}}</script></head><body><a href='java script: void(0)' id='BBCODEchanger' onclick='changeBBCODE()'></a></body></html>

    Just make display either display 'inline' or 'none' by default.I think this works.

  4. I went throught the (x)html tutorial a bit, and I read that the name attribute is not supported, and that you should use id instead.But what if your using the post form method in PHP?Does PHP recognize the 'id' attribute from the form, or what do I use?

×
×
  • Create New...