Category: “PHP”

PHP Shorthand Conditional Statement

Here’s another quick hit from my php snippets. You can see a review of a lot of ways to do this on David Walsh’s post on the subject. However, I wanted to write it as short as possible to be used within pages. I use this a lot to add css classes into tags. (more…)

PHP Conditional Statement – In Between Dates

I’m always using little php snippets in tons of projects. Here’s one I needed today that is very useful.  If you want a specific item to show only between a group of dates you can use this. No big function, just slap in your dates and go! (more…)

About Schoberg

Jesse Schoberg

Jesse Schoberg is a web developer. He founded LJ Host in 2001. He has a passion CSS and other web technologies.

More About Schoberg