Archive for September, 2007

PHP Video Tutorial: PHP Loops

Wednesday, September 26th, 2007

Hi,
I’ve released a new video tutorial covering PHP basics. In this video I teach three different loop types in PHP:

For Loops
While Loops
Foreach Loops

The Video: php loops
Thanks,
Stefan Mischook
www.killerphp.com

Video Tutorial: PHP conditionals

Monday, September 24th, 2007

The following video teaches the basics of conditional statements in PHP; specifically the ‘if’ statement.
PHP conditionals video tutorial
Again, this video is for beginners to PHP and programming in general.
Note to uber-nerds:
If anyone complains to me that this video is to simple, I might hit you with a theoretical article on how aspects (as in [...]

Video Tutorial: Processing forms with PHP part 3.

Monday, September 24th, 2007

I just released part 3 on how to process forms with PHP:
Processing forms with PHP - part 3
This video wraps up my introduction to forms and PHP where I also teach a little about functions along the way. It’s about 8 minutes long.
-
This video is geared towards total beginners to PHP so I don’t wanna [...]

Cannot load mysql extension error - Video Tutorial How To

Saturday, September 15th, 2007

I recently ran into the following error when trying to launch PhpMyAdmin from the WAMP icon tray menu:
phpMyAdmin – Error
Cannot load mysql extension. Please check your PHP configuration.
What does this mean?
In a nutshell, PHP cannot find the library (mysql.dll - on Windows) it needs to connect to MySQL.
How can you fix this?

Use phpInfo() to [...]

Installing PHP and MySQL on the Mac with MAMP

Friday, September 14th, 2007

In my beginners php videos, I recommended XAMPP as the way to easily install Apache, PHP, MySQL on a MAC.
Well, I just discovered something called MAMP at:
http://www.mamp.info/en/index.php
This nifty little application allows you to (really easily) install Apache, PHP and MySQL. You are provided with a standard DMG file that you simply drag to your [...]

Object Oriented PHP Tutorial in PDF

Tuesday, September 11th, 2007

Hi,
I’ve had several people request that the article on object oriented PHP be made into a PDF for offline viewing.

Well … here you go: oop php pdf

The PDF also contains links to the accompanying videos.
Thanks,
Stefan Mischook
www.killerphp.com
www.killersites.com

Building Objects in PHP - Part 3

Sunday, September 9th, 2007

Hi,
I’ve just released part 3 of my videos on objects in PHP.
In this video, I clarify a point I was trying to make in part 2. In a nutshell, I talk about why it makes sense to keep any page rendering code (HTML and CSS) out of your business logic classes.
.. I cover the details [...]

Building Objects in PHP - Part 2

Sunday, September 9th, 2007

Hi,
I’ve released part 2 of the video: Building Objects in PHP
In this video, we actually use the object we created in Part 1, in our PHP page.
-
I will have another video to clarify and wrap things up covered in Part 1 and Part 2.
Thanks,
Stefan Mischook

New Video: Building Objects in PHP

Friday, September 7th, 2007

Hi,
I just released part 1 of my video on building objects in PHP.
This is a hands-on video where I hope the viewer will actually write code along with me. I want to stress that this video (like everything else on this site,) targets beginners .. not old PHP hacks.
… My goal is to make object [...]

Why learn OOP in PHP - another take.

Friday, September 7th, 2007

Why learn OOP in PHP - another take.
For people new to OOP and are comfortable with ‘classic’ procedural php, you may be wondering why should you even bother to learn object oriented concepts … why go through the trouble?
The PHP world:
PHP is moving in an OOP direction. For example, many important PHP extensions like PEAR [...]

Object Oriented PHP Tutorial Updated - Steps 18 - 22

Thursday, September 6th, 2007

Hi,
I’ve update my beginners tutorial on object oriented PHP adding steps 18-22.
Again, this is a code intensive article where I expect you to follow along with your PHP editors.
PS: if you happen across any errors/typos, please let me know.
More to come.
Thanks,
Stefan Mischook
www.killerphp.com