Welcome to Category5.TV

Login for the best experience

Registered users are able to access restricted pages which guests can only dream about.

Check out the show

Local show times found here »

Viewer Login

Lost your password?

Become a registered viewer

Win prizes and access content exclusive to registered viewers. Registration is absolutely free, and no sales people will visit.

Register Now

Episode 234 — Beginner-to-Intermediate PHP Part 1: The Magic of the PHP Array

Watch Episode 471 Live:

Watch Episode 234 on your SmartPhone

Subscribe on YouTube
Category5 Technology TV Episode 234 5/5 with 2 votes


Originally aired on March 13th, 2012.

Starring: Robbie Ferguson and Rachel Xu.

Previous Episode Next Episode

Chat Logs

This episode is sponsored in part by: Eco Alkalines, Garden Gate Farms and Cordery Electric.

Topics Covered:

  • Robbie Ferguson and Rachel Xu present live from the Category5 studios in Barrie, Ontario.
  • Pyrosrock walked 8km to be able to watch the show tonight.
  • Announcement: Category5 TV is now a member of the Tech Podcast Network. More info at techpodcasts.com.
  • Rachel's Question: What does "PHP" stand for?
  • Send in your postcards to be featured on the new web site when it launches!
  • Robbie opens a can of ginger ale since we're not allowed to drink beer on a G-Rated show.
  • Garbee choses the word "Now" to shout out in the chat room when someone mistakingly thinks Robbie and Rachel are drinking beer.
  • Viewer Testimonials
  • Viewer Question: What version of DD-WRT do I need for my WNR3500L router?
  • Viewer Question: How can you wear sweaters when it's so hot out?
  • Why it's important to use a different very strong password for every service you sign up for, and how you can generate them automatically.
  • Generating very strong passwords that are easy to remember.
  • When Robbie doesn't introduce himself, Rachel gets very confused.
  • The evolution of smartphones and tablets is introducing business networks to a new issue when it comes to bandwidth usage.
  • Viewer Question: Could you setup QOS to solve this issue?
  • Top Stories from the Category5.TV Newsroom.
  • Feature: Basic-to-Intermediate PHP Part 1 - The Magic of the PHP Array.
  • Creating our first PHP array.{code} $v=0; $images[$v]['file'] = 'images/1.jpg'; $images[$v]['description'] = 'Image 1'; $v++; $images[$v]['file'] = 'images/2.jpg'; $v++; $images[$v]['file'] = 'images/3.jpg'; $v++; $images[$v]['file'] = 'images/4.jpg'; $v++; print_r($images); {/code}
  • Outputting our array by looping through the array and outputting the images to the browser, and displaying the description if there is one.{code}foreach ($images as $value) { echo ''; echo '
    '; if (isset($value['description'])) echo $value['description']; echo '

    '; }{/code}
  • Viewer Question: Will you be doing Object Oriented PHP?
  • The time change has affected some viewers' ability to make it on time tonight.
  • Viewer Question: What can you actually store in a PHP array?
  • Viewer Question: Can we watch Category5 TV live on the Boxee Box?
  • Viewer Comment: Yes, you can add RSS feeds to Boxee Box.
  • Obtaining a Category5 TV RSS feed to add to the Boxee Box.
  • Viewer Question: My Pogoplug loses its connection due to my ISP's reconnect every 24 hours. Is there something I can do about it?
  • Viewer Question: Are all Category5 TV episodes available through the web site?
  • Viewer Question: If you lost Episode 11, you could redo it! [we did!]
  • Call the Category5 Studio Line: 254-5-CAT5TV

Links to Relevant Web Sites:


Open the Photo Gallery

Related Episodes

Episode 235 – March 20, 2012

We're learning to program web applications on Category5 TV, and this week Robbie and Hillary take you through a while() statement in PHP to count up from zero.


Episode 321 – November 12, 2013

Not a big fan of the new "start screen" on Windows 8? We'll show you how to return the traditional Start Menu to the latest version of Microsoft's desktop operating system.


Episode 275 – December 25, 2012

The on-air team of Category5 TV bring you a Very Merry Christmas - a Christmas special featuring musical performances from our entire on-air team, plus a special guest appearance by Carrie Webb from Seasons 1 and 2.


Episode 250 – July 3, 2012

Block unwanted website traffic from bad bots and open proxies using the powerful BlockScript program on your web server.


This web site is being upgraded. New episodes will not appear here for the next week or so. Please visit our YouTube Channel for now, and keep checking back for the new web site!