From the mind of Jamie Huskisson: Nottingham freelance UK PHP, Magento, Wordpress developer

A Selection Of The Worst Written PHP Tutorials Ever…

Posted on April 19th, 2005 in ,

Yes thats right, here’s my selection of some of the worst PHP tutorials i’ve seen submitted to Pixel2Life, ever.

Note: These tutorials where NOT accepted to Pixel2Life and are NOT a representation of what the actual content on Pixel2Life, just a representation of the crap people like to think is worthy of being called a tutorial…

A tutorial on PHP commenting:

Heres how to comment using PHP
1. Using //
2. Using /* and */
3. Using #

(Yes, that was it…)

Starting your first ever PHP file:

When I first started coding in PHP it was really tough but now i’m uber l33t man. Now heres how to start your first PHP file:

<?php
print ‘hello world’;
?>

Look forward to more uber tutorials!

THE BEST EVER PHP includes tutorial

To use includes simply include the following your page:
<?php include($page); ?>

Now use the following to automatically set this include:

http://www.mysite.com/?page=index.php

(Maybe I should use a root include and ruin your server? :)

And the best submitted tutorial ever…

Sorry you must be registered to view this forum

In closing, please when learning includes and echo’ing in PHP please do not think you are ready to write tutorials on how to use PHP.

Bookmark and Share

If you enjoyed this post:

Please take the time to leave a comment with any of your thoughts, follow me on Twitter or subscribe to my RSS Feed for automatic updates on all future posts.

There are 4 responses to this post so far

Feel free to use any of the following tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>