PHP Page Engines ?

Discussion in 'Off Topic' started by woohoosimz3, Aug 21, 2008.

  1. woohoosimz3

    woohoosimz3 Woohoo Simz 3

    PHP Page Engines ?

    Hey, im in need of help :(.
    I've been trying to re-design woohoo sims to use PHP instead of HTML.

    What I want is to have the Index.php page almost like the master page. So that when i edit the sidebar in the index file, i don't need to edit the same part in every single page on the site.

    At the moment i need to edit every page to add something to the sidebar. I only want to have to edit one page because its much faster.
    Im not lazy its just I edit the site all of the time and having to edit every individual page is a pain.

    So anyways i've tried but just can't get me head over it. Can anyone help me with what im trying to do ?

    Thanks! :happy:
     
  2. ManagerJosh

    ManagerJosh Benevolent Dictator Staff Member

    So let me get this straight. You want to build a php page, but what you'd like to do is when you update the sidebar, you'd like to only do it once instead of thousands of times(once for each page)..correct ?
     
  3. woohoosimz3

    woohoosimz3 Woohoo Simz 3

    yep, thats bang on :)
     
  4. ManagerJosh

    ManagerJosh Benevolent Dictator Staff Member

    www.php.net/include

    Basically you setup your content to "include" certain pieces of information at certain points. Could be simply text. Or could be complete sections or segments of HTML or your website layout.

    There you go :)
     
  5. woohoosimz3

    woohoosimz3 Woohoo Simz 3

    Ok thanks, i'll have a read throught it and let you know how it went tomorrow.

    Thanks again! :D
     
  6. woohoosimz3

    woohoosimz3 Woohoo Simz 3

    umm, ok i tried but i can't seem to get it to work :( this is soooo fustrating! =|
     
  7. woohoosimz3

    woohoosimz3 Woohoo Simz 3

    ah wait a sec, I think i've just mastered it :D:D
    Thanks guys!! :D
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice