Archive for the 'Programming' Category

Using Preg Replace For Search Engine Friendly URLs Saturday, May 26th, 2007

I don’t know about you, but I REALLY hate seeing “%20″ in the URL. I haven’t figured out what Google thinks of it yet, but it just looks cheap to me. So when I’m writing SEO friendly URLs, I don’t want to leave any spaces. Let’s assume the title of this particular […]

REGEx Price Explained Friday, May 25th, 2007

REGEx Price Explained
“/(^$)|(^[0-9]+$)|(^[0-9]+\.[0-9][0-9]$)/”,
This piece of REGEX has three different options as you can see with the ” | ” thingy which stands for “or”.
Option #1 is the (^$). The “^” means “Start with whatever is after this. The “$” means “end with whatever is before this. Since there is nothing […]

REGEX Remove Commas From Form Textfield Friday, May 25th, 2007

Just in case you ever wanted to remove commas from a form automatically, this is one way to do it. It uses the javascript “onblur” trick. So when ever the mouse leaves this field, it calls the piece of code.
Why would you ever want to remove commas from a form?
MySQL databases don’t always […]

Javascript Elements, Functions, or Thingies Tuesday, May 8th, 2007

Javascript functions explained.
http://www.javascriptkit.com/jsref/elements.shtml
I don’t know if you call these “functions” or not, but I can’t ever seam to remember the site that explains all the javascript thingies. So, I’m writing a short little blog to remind myself.

Cape Girardeau Real Estate Saturday, January 27th, 2007

A buddy of mine, Rick Sample (who owns Distinctive Home Solutions, a Cape Girardeau Home Builder), has been bugging me about getting a kick ass website to show off his home building business.
It was a big deal to me to build a site that Rick could work himself. Rick may have a […]