We have much to cover today! We’ll be reviewing arrays, refactoring, functions, and includes over the course of about twenty-two minutes. If the video moves too fast, feel free to watch it two times – or three times – and/or ask questions via the comments.
Continuing on from yesterday, we’re going to take a look at how to pass multiple values from page to page. We’ll then use the “print_r” function and the “foreach” statement to display the information accordingly.
P.S. To stay up to date on this series, follow me on Twitter!
I’ve decided that this series won’t be 100% “by the book”. Though you MUST learn the fundamentals, I think it might be nice to learn some more “fun” things right now. Otherwise, you’ll go mad trying to memorize the if, for, foreach, while, and switch statements.
We’ll absolutely learn those – but in due time. Today, I’m going to show you how to pass values from page to page by using super-global arrays. I hope you enjoy it!
P.S. Please help one another in the comments section.
Today marks the beginning of a brand new series that will show you EXACTLY how to get started with PHP. Just as with the “jQuery for Absolute Beginners” series, we’ll start from scratch and slowly work our way up to some more advanced topics. I hope you enjoy it. As always – feel free to make requests via the comments form.
We’ll get started by downloading WAMP/MAMP and echoing out a simple string to verify that PHP is working on our system.
In Part 1 of day fifteen, we worked on setting up the PHP side of a CSS style-switcher. Today, we’re going to take things one step further and implement some AJAX functionality. Coming in at just under thirty minutes, this final video in the series is the most in depth. As an unintended “bonus”, I had to take a couple of minutes to fix some mistakes that I made. I could just as easily have edited this section out; however, I think it’s important to watch how other developers debug their application. Considering that, I kept it in.
Today’s screencast is a bit misleading! Over the course of the next two tutorials, we’ll be creating a jQuery style-switcher that will allow the user to switch between CSS files. However, today we’re only going to be working with PHP! Day 15: Part 2 will cover the jQuery.
Before we begin, credit must be given where it’s due. We’ll be using a NETTUTS article called “How To Create An Amazing jQuery Style Switcher” by James Padolsey as a guide. Though we won’t follow the tutorial step for step, we’ll use it as a basis. It’s not required by any means, but I highly recommend that you review the tutorial. While you’re at it, be sure to visit his personal site for more tutorials; He’s extremely talented.
There are many, many ways to create equal columns with CSS. This is one of those features that was MUCH simpler to achieve back in the days of html tables. In the next couple of years, when the use of CSS tables becomes more reliable, we won’t have this problem anymore. (For more information, watch this video.)
I betcha didn’t know that there is a neat way to create equal columns by using absolute positioning. Will this be applicable for all scenarios? Absolutely not. But, it’s a nice trick to have in your tool box!
Today, I’ll show you how to implement a jQuery plugin into your applications. There are literally hundreds of third party plugins available. It would be silly to ignore them! As you’ll find, they’re quite easy to implement! I’ve chosen the s3Slider plugin.
Later, down the road, I’ll show you how to build a plugin! But not today.