the natural anthem (tocomfortyou) wrote in notrecoterie,
the natural anthem
tocomfortyou
notrecoterie

  • Mood:
  • Music:

oh my go d haa the world i sall spinnng

PHP

PHP is very simple and I am very tired so please attempt to fallow along with me because i'm very sleeopy thank you. zzzzzzzzzzzzzzzz

PHP

PHP is like a really really easy way to change your layouts. There, that is the simple definition. Yes. Changing layouts. Right.

You have your page with lots of HTML. Your HTML looks like this:

BLAH BLAH BLAH HTMLCAKES

oh hi everyone i went shopping today baslkdfjas;ldfj

BLAH BLAH BLAH ENDHTMLCAKES

So there's a big bunch up of HTML at the top (we'll call this the header). Then there is the 'entry' which is all the new information on the page, the actual content of the page. Then after all the content is through, there is more HTML junk called the footer.

Save the HTML in the Header as header.php and the HTML in the Footer as footer.php haha am so original with names where was i? o yes

now you will say

oh hi everyone i went shopping today ;ALSDKFJASODAIJSDF


instead of all of that other junk

now whenever you wish to change the layout of your site it will be easy YAY you just change the header.php and the footer.php and ALL IS WELL AND PRETTY AND YAY AND OMG I AM SO TIRED DOES ANYONE HAVE A PILLO FO R ME I WOULD LIKE IT VERY MUCH THAN K OU.
  • Post a new comment

    Error

    default userpic
  • 0 comments