February 26, 2010 – 3:35 pm
I’m putting this little post together to help my clients on Wordpress, and hopefully a few other folks out there when composing Wordpress posts and pages. Please comment below with questions/additions, as I’ll continue updating this post.
Audience:
This cheat-sheet is intended for users using the Wordpress CMS, and would like to have a bit more control [...]
February 2, 2010 – 11:55 pm
What’s the #1 reason I enjoy doing back end programming instead of front end design? No, it’s not my lackluster aptitude at graphic design – it’s internet explorer version 6.
See, IE6 thinks it’s better than everybody else, and I’m thankful to the lord that even Big G is now backing up. It ignores internet wide [...]
January 31, 2010 – 5:39 pm
I always have trouble finding this, so here it is. The if statement in the checkState() function can be replaced with anything you like to select the option by default…
<?
function checkState($state) {
if ($row['state'] == $state) {
echo ‘ selected=”selected”‘;
}
}
?>
<select name=”state” id=”state”>
<option value=”–”<? checkState(”) ?>>Select…</option>
<option value=”AL”<? checkState(‘AL’); [...]