Jump to content

chrisbt123

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by chrisbt123

  1. Maybe I should have been a little bit more specific lol, i already know basic / advanced HTML, i have created loads of pages in the past, and i already have a host that supports php, i meant like what file should i start on first? thankschris

  2. you have to save the file as .php...also, if your computer doesn't have PHP running on it (unless you've installed it yourself, it probably doesn't), you have to upload the saved file to a server that supports PHP and view it there......hope that helps!love,jason
    OK, thanks m8, will try that
  3. <?php//Script Made By Chris Button//News Page Is NOT Free Software//Admin Email chrisbt123@talktalk.net////////////////////////////////////////////////////////////////////////////////////////////////////////////echo $txt="This is compspares news!!!";?><html> <body><b><div align="center"><u><i><h2>Welcome to Compspares News!!!</h2></i></u></div align></b><br><br><b>Welcome to compspares news! This is a beta edition, as it is our first edition. Andwe only have one coder, that's Shaun's son, Chris, this is because shaun can't code tosave his life. it saves clogging up the index page with all the news. Oh, just thoughtI'd tell you this page is coded in HTML, chris is learning CSS so site will look alot neater soon!</b><?phpecho date("Y/m/d");echo "<br />";echo date("Y.m.d");echo "<br />";echo date("Y-m-d");?>I have broke it down as much as i can, but those php tags DO NOT show up. Any ideas?

  4. I think I know what you mean, rename your homepage file to index.htm that should do trick...Or if you want to make it your actual first page when you open up internet explorer...click tools, internet options, then there is the address of your current homepage at the top....delete that and enter your new one :wink:

  5. Hi, I have a problem with my php script. I have put echo tags in there, but they are not showing up. They may as well be comments, they don't display in HTML or in php. Also, I have tried to put the date and time tag in there, but that dosen't show either. Has anybody else had this problem?ThanksChris

×
×
  • Create New...