For the last couple of weeks, we’ve talked about functions and variables in your PHP code. But that’s not nearly all that there is to PHP. After all, there’s more to functions than just passing variables around (we have to do something to these variables, else what’s the point?) and functions aren’t the only way… Continue reading PHP: On One Condition…
Category: Coding
PHP: Variables
Last week we talked about what functions are in PHP, and I promised that this week I would explain more about what goes into a function and why on earth there are so many dollar signs in PHP code. So to put things into context before we jump right in, remember that we were discussing… Continue reading PHP: Variables
PHP: Getting Functional
Last week I introduced you to the elePHPant, and showed you how to differentiate the PHP in your code from everything else. But that doesn’t actually tell you what’s happening between the PHP tags… which is kind of the entire point of learning about PHP, right? So today we begin to dissect the elePHPant, and… Continue reading PHP: Getting Functional
PHP: We’re going elephant hunting!
There is an elePHPant in the room, and we really need to address it. No, seriously. Now, I don’t care who you are or what you say, but if you want a website that does more than just sit there and forever stay the same, we’re going to have to talk about this elePHPant. It… Continue reading PHP: We’re going elephant hunting!
To Table or Not To Table? That Is The Question.
Imagine this scenario: you’ve decided you want a website, and you set out to code it completely from scratch (It certainly is possible–I’ve done it in the past–but with the great themes available these days, why bother?). You know you want the header at the top, a sidebar or two, the content in the center,… Continue reading To Table or Not To Table? That Is The Question.
HTML: A Classy Identity
If you look at the HTML code of any modern website, you’re likely to see a lot of <div> elements. A whole lot of <div> elements. A lot of coders use <div> elements to format the layout of their websites. But what does a <div> element do? By itself, not much. All a <div> element… Continue reading HTML: A Classy Identity
HTML: A Few Basic Rules
For the last couple weeks we’ve been going through an introduction to how websites work by diving in head first (no pun intended) and looking at working code. While this does help you understand how your website works and how to customize the head section for your own website, there’s also a lot it doesn’t… Continue reading HTML: A Few Basic Rules
HTML: Getting Inside Your Head
Last week, you got the general overview of the head section of your website, but we didn’t really discuss what goes on inside, in the brain of your website, if you will. But as complicated as it might sounds, today we find out how easy brain surgery can really be. Er… at least, when we’re… Continue reading HTML: Getting Inside Your Head
HTML: Keep a Good Head On Your Shoulders
Before we can get to the body of your website – the stuff you actually see – we need to look at the head. “But why,” you ask, “do we give a darn about the head if we don’t actually see any of it?” Well. As with any animal, the head is what makes everything… Continue reading HTML: Keep a Good Head On Your Shoulders
HTML: Let’s Take It From The Top, People
There are many ways I could go about teaching you the technical side of websites. I could easily dumb everything way down and only tell you what you absolutely need to know to customize a WordPress theme. But I think… no, I know you’re smarter than that. And you deserve better. So we’re going to… Continue reading HTML: Let’s Take It From The Top, People