Results 1 to 5 of 5
  1. #1
    Corndog's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Salem, NH
    Posts
    10,138
    Reputation
    526
    Thanks
    2,909

    Creating A Dynamic Website

    I have recently been playing around with web design, but all I know is CSS and HTML. I do not know much about PHP, or any other dynamic web language, but I'm willing to learn—although I don't have a whole lot of time to do so. So, over the last two nights, I put together a simple design that I really like. The basics of it shouldn't change too much, but that doesn't really matter too much here. My problem is that unless this site is going to be one or two pages that never change, which it won't be, a static design won't work for me. I'd like to know how I can transform simple CSS and HTML into a "full blown" website.

    Right now the site is composed of three (very standard) things [click here for a screenshot]:
    - Navigation Menu
    - Posts Section
    - Sidebar

    I would like these three things to be changed on every page I make when I change them. So I guess I'd have to utilize PHP and MySQL or SQLite, with tables for each of these things. Can anybody help me out. I can provide some more info on the code itself if it's needed.
    Last edited by Corndog; 09-24-2011 at 09:08 PM.

  2. #2
    Paul's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    6,296
    Reputation
    473
    Thanks
    1,061
    My Mood
    Sleepy
    try iframes


  3. #3
    Dave84311's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    The Wild Wild West
    Posts
    35,837
    Reputation
    5782
    Thanks
    41,292
    My Mood
    Devilish
    Build a template... for now a header.php with the page header. Include that in the page you would like to display it in. If you change the header.php file, everything that has included the php file will show that update. Now, that will handle basic updates of the header, for a fully interactive website you will need a database. The database will store essential information, and you will have to use PHP to query it. There is TONS of information about using php with mysql, so I will stop there.





    THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE


    "First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311

    HAVING VIRTUAL DETOX

  4. #4
    Hitman's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    United Kingdom
    Posts
    1,930
    Reputation
    188
    Thanks
    249
    My Mood
    Relaxed
    Quote Originally Posted by Dave84311 View Post
    Build a template... for now a header.php with the page header. Include that in the page you would like to display it in. If you change the header.php file, everything that has included the php file will show that update. Now, that will handle basic updates of the header, for a fully interactive website you will need a database. The database will store essential information, and you will have to use PHP to query it. There is TONS of information about using php with mysql, so I will stop there.
    Listen to Dave he knows best.

    I'm the Hitman of MPGH.

  5. #5
    Corndog's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Salem, NH
    Posts
    10,138
    Reputation
    526
    Thanks
    2,909
    I was hoping there was a much easier, lazier way. I guess the only lazy option is to use a CMS or some other software.

    I guess I'll be learning PHP. It isn't that hard anyway...

Similar Threads

  1. Good Cracks/Serials/Keygens website
    By Elmo in forum Spammers Corner
    Replies: 11
    Last Post: 10-22-2016, 07:05 AM
  2. Replies: 1
    Last Post: 09-24-2011, 09:25 PM
  3. How to creat a website..
    By gunman353 in forum General
    Replies: 7
    Last Post: 01-29-2009, 07:14 PM
  4. how to create speedhacks?
    By LiLLeO in forum General Game Hacking
    Replies: 5
    Last Post: 01-28-2006, 08:52 AM
  5. Creating A GunzRunnable
    By CrazyDeath in forum Game Hacking Tutorials
    Replies: 7
    Last Post: 01-01-2006, 11:20 PM