Category Archives: PHP Tutorials

Page title changer

Have you ever wondered how sites (like this one) have a different page title for each page?
Here is how you do it:
Lets say you have 3 pages: index.php, about.php and contact.php. You need to have the page include system working so we can use the same variable for the page title changer.

< !DOCTYPE html PUBLIC [...]

Posted in PHP Tutorials | Leave a comment

Page include system for newbies

This system pretends to have one file (index.php) and run the others (about.php, contact.php, ect.) inside of it
I read a lot of tutorials but later on, when my site had months running, i found about the PHP Switch Statement and this is the easiest way to have your PHP Navigation.
Copy and paste the code, you [...]

Posted in PHP Tutorials | Leave a comment

Mail form for newbies

When i started my site i read a lot of tutorials looking for the best email form, but my problem was that i was a PHP newbie, in other words, i didnt know ANYTHING about PHP so it was really hard to understand the tutorials even if they tried to explain it.
So let me explain [...]

Posted in PHP Tutorials | Leave a comment