HTML Question: Updating News, and Such.

Discussion in 'Gaming' started by Mildaen, Jun 13, 2007.

  1. Mildaen

    Mildaen Member

    Posts:
    22
    Likes Received:
    0
    Joined:
    Feb 1, 2007
    Location:
    Reno, Nevada
    This question pretains to wether or not I can update my Website without changing my HTML file, have anything to do with PHP, or wordpress? Something I can use to enter new news and change the main content of my page, or pages. If there is anyway to do this please tell me how, and where to find a good How-To for it.

    -Mildaen
     
  2. Blue_fire

    Blue_fire Well-Known Member

    Posts:
    890
    Likes Received:
    0
    Joined:
    May 27, 2006
    Location:
    Hamilton, Ontario
    I think its PHP what your looking for. If the page is coded in php it updates all the pages or something close to that. Usually sites have news at the right side and a menu on the left and it takes alot of work to change the news on every page so you have the same story so they use PHP.
     
  3. Littlej

    Littlej Well-Known Member

    Posts:
    1,971
    Likes Received:
    0
    Joined:
    Aug 13, 2006
    You could just include the following where you want your news to appear on each page:

    <? include('filename.php'); ?>

    Then in 'filename.php' you just add whatever text you want and upload it, it will then insert whatever is in that php file into the php.

    You can also do it without uploading files at all, which involves updating data from a database I think but I can't help you much there. I'm pretty sure you could find a tutorial for it though.
     

Share This Page