Jump to content

porzant

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by porzant

  1. porzant

    Making a .php file

    I've downloaded XAMPP, and saved a .php file in htdocs, but I can't open them using localhost/ or 127.0.0.1, it just takes me to a Google search for that.
  2. porzant

    Making a .php file

    When I'm downloading the XAMPP, it saves as a .biz file, which my computer can't read. Also, if a save a text file as .php, it stays as a text file. Would uploading this to FreeWebs or something make it work?
  3. porzant

    Making a .php file

    Sorry but I still don't understand how to do it. I've tried installing that XAMPP and IIS, but none of them seem to work.
  4. porzant

    Making a .php file

    This question probably sounds stupid, but how do I make a .php file and use it. I've saved: <?phpecho "Hello World";?> in a HTML file like it shows you on the tutorial, but do I need to download something for it to work?Thanks for any help.I'm using Windows XP by the way.
  5. Thanks very much :)Is there anyway to do the opposite? i.e. print a variable into a text field on Submit?
  6. I was wondering if there was a way to use an input from a form as a Javascript variable? Think it may have something to do with HTML DOM. All help appreciated
  7. so would this work now? document.write("<div class = "body"> \document.write<a class="body" href ="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors.html">Home\document.write<p></p> \document.write <a class="body" href ="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Members.html" >Members \document.write<p></p> \document.write <a class="body" href ="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Events.html" >Events \document.write<p></p> \document.write <a class="body" href ="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20History.html" >History \document.write<a class="body"href="http://www.freewebs.com/chrome_warriorsa/Application.html">Application \document.write<p></p> \document.write <a class="body" href ="http://www.freewebs.com/chrome_warriors/Stats.html" >Stats \document.write<p></p> \ document.write <a class="body" href ="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Forum.html">Forum \document.write<p></p> \document.write <a class="body" href ="http://www.freewebs.com/chrome_warriors/Videos.html" >Videos\document.write<p></p> \ </div>")
  8. ive been told you can set up a nav bar in the css. ive tried lots of help sites, but dont know how to do it. this is my html nav bar. <table border="5"><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors.html"><font style="color:#C0C0C0">Home</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Members.html"><font style="color:#C0C0C0">Members</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Events.html"><font style="color:#C0C0C0">Events</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20History.html"><font style="color:#C0C0C0">History</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriorsa/Application.html"><font style="color:#C0C0C0">Application</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Stats.html"><font style="color:#C0C0C0">Stats</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Forum.html"><font style="color:#C0C0C0">Forum</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Videos.html"><font style="color:#C0C0C0">Videos</a></td></tr></table> I have this on lots of pages, so it is annoying when i have to change it. could somebody please write the css code i would put into each page, linking it to this (so it displays on the page), and i would only have to change this for it to change on all of the other pages.
  9. looking at this post: http://w3schools.invisionzone.com/index.php?showtopic=2845 i think it is the kind of thing i want, so this is what it looks like now: document.write(" \ <a href ="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors.html" >Home \ <p></p> \ <a href ="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Members.html" >Members \ <p></p> \ <a href ="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Events.html" >Events \ <p></p> \ <a href ="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20History.html" >History \ <a href ="http://www.freewebs.com/chrome_warriorsa/Application.html" >Application \ <p></p> \ <a href ="http://www.freewebs.com/chrome_warriors/Stats.html" >Stats \ <p></p> \ <a href ="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Forum.html">Forum \ <p></p> \ <a href ="http://www.freewebs.com/chrome_warriors/Videos.html" >Videos\ <p></p> \ ")
  10. ive tried lots of help sites, but dont know how to do it. this is my html nav bar. <table border="5"><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors.html"><font style="color:#C0C0C0">Home</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Members.html"><font style="color:#C0C0C0">Members</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Events.html"><font style="color:#C0C0C0">Events</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20History.html"><font style="color:#C0C0C0">History</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriorsa/Application.html"><font style="color:#C0C0C0">Application</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Stats.html"><font style="color:#C0C0C0">Stats</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Chrome%20Warriors%20Forum.html"><font style="color:#C0C0C0">Forum</a></td></tr><tr><td><font face="Comic Sans MS" font size="2"><a href="http://www.freewebs.com/chrome_warriors/Videos.html"><font style="color:#C0C0C0">Videos</a></td></tr></table> I have this on lots of pages, so it is annoying when i have to change it. could somebody please write the javascript code i would put into each page, linking it to this (so it displays on the page), and i would only have to change this for it to change on all of the other pages.thx for the help
×
×
  • Create New...