PHP Tutorial: Basic PHP

Never heard of PHP? You don’t know what you’re missing! Here how to start a site with (or convert a site in) PHP.

What you need:

PHP enabled: you need to be hosted or have a domain on a server which supports PHP, there are some free hosts which offer php but I’ve never tried them.

From HTML to PHP:

If you have already a site in HTML, first you need to change .html at the end of all your pages and write .php. If you’re starting from scratch, lucky you! You don’t need to change anything but create pages with .php at the end, meaning everytime you save a page, save it as .php and not .html or .htm.

Now we have to start dividing our pages: creating header.php, namepage.php and footer.php.

Continue reading “PHP Tutorial: Basic PHP”

Week #8

Another week went by. This past week I learned something at work, read a lot of pages of my books especially last Monday and I found out that Game of Thrones is far ahead of the books I’m reading so the tv show spoiled out everything… I’m angry  :angry:   :angry:   :angry: I didn’t know that! I thought that last season was book #4 but it was book #4 and 5! Yep, not going to watch the tv show until I’m finished with the books. But it is my fault because I wanted to wait for these damn translators and publishers to publish the same edition that I already had…  Continue reading “Week #8”