PHP

PHP articles designed to help you understand, use and eventually master PHP.



Object Oriented Programming PDF Print E-mail
PHP - Intermediate
Written by Stuart Duncan   
Friday, 27 November 2009 17:32

Object Oriented Programming is usually used the kind of programming that you find in video games, robotic engineering... even desktop interfaces... so it's hard to imagine how you could use something like an 'object' when working with a website but the truth is that there are a lot of advantages to it. By learning how they work, hopefully you'll learn how and why they should be used in your code.

 
Dates and how much work they can be PDF Print E-mail
PHP - Basics
Written by Stuart Duncan   
Monday, 19 October 2009 12:41

So you've mastered the variables, made some functions and have files included where you need them... but now you want to add the date to your page. PHP comes with some premade functions which do a lot of the work for us but you'll find that once you go beyond simply displaying today's date, it can get very complicated very fast. Especially if you're trying to deal with dates that look like this: 1255974167

I am going to show you a few things to help take some of the complexity out of it.

 

 
Functions PDF Print E-mail
PHP - Basics
Written by Stuart Duncan   
Friday, 16 October 2009 20:50

Some argue that this topic is more for intermediate PHP developers as there is a lot to it, but I beg to differ. I think you're ready and because you are ready, I want to teach you about functions. They are extremely powerful and what's more, will be the stepping stone that leads to you doing Object Oriented Programming. Sound scary? Don't worry, if I can do it, so can you.

 

Last Updated on Saturday, 17 October 2009 06:13
 
include, require, require once PDF Print E-mail
PHP - Basics
Written by Stuart Duncan   
Wednesday, 14 October 2009 14:46

Have you ever wished that you could just make one header, with a logo and menu and just have it be in one file and just include that file in all of your HTML files? So that when you make a change to the menu, you can do it just one time instead of hundreds of times? Imagine a typo, and having to fix that in all of your HTML files. Frustrating!

PHP's answer to this comes in the form of includes and requires. There are a few ways they can be used and couple subtle differences.

 

 
Introduction to PHP PDF Print E-mail
PHP - Basics
Written by Stuart Duncan   
Saturday, 03 October 2009 18:33

Most PHP tutorials start out by telling you it's origins, what year it was created, who was around for it and how it's grown over the years. But none of that will help you build the next great web application and so either you can go find another tutorial which will explain that stuff, or you can read on and start learning some PHP basics right away.

Last Updated on Friday, 09 October 2009 11:10
 


Like it? Share it!

Donate

Must have Pepsi, feed my addiction here:


Login to TyCamTech.com

Recommended Books

How To Flip Websites Home Study Course.
Complete Video Instruction On How To Quickly Set And And Flip (i.e. Sell) Websites For Profit. 6 X Video Lessons Plus Bonuses -- Great Value For Buyer And Maximum 75% Payout For Affiliate!

Learn PHP in 17 hours!
If you can copy and paste into HTML and you can follow simple instructions...

Setting up a Web Server
Teaches All The Steps To Hosting A Website From Home.

Follow us on



Follow tycamtech on Twitter