Archive of 2011 March

29Mar2011
Category
JavaScript, PHP
Tags

Number to Word Converter

So I recently found a function that has one parameter, which then goes into a switch/case statement for each individual number up till 31 giving the real word for the day. For example the input "31" would return "thirty one". I figured there was a much easier way to make this function. I ended up making two functions. I converted this to JavaScript from PHP so I can use it in a few different place

Read More
14Mar2011
Category
JavaScript
Tags

JavaScript Submit();

As some of you know, submitting a form via JavaScript is often essential. Especially for JavaScript rich applications. I was currently debugging some code at work and ran into a bug I just could not wrap my head around. It was currently getting all POST data, and resetting it in hidden input fields so the user can fill out more parts of a larger form. Anyways, one of the submit buttons were act

Read More
05Mar2011
Category
Databases
Tags
,

MySQL and MSSQL

For most of my programming life I've used MySQL for no real reason. I had nothing to complain about, so why switch? That's really the wrong perspective as I can see now. User Defined Variables Both have their advantages and disadvantages. For instance in MySQL you don't have to declare variable types. For example in MySQL you can simply do this: But in MSSQL you must set the data type

Read More
02Mar2011
Category
News
Tags

Grand ReOpening!

This site has gone through a bit of a make over. I am still gathering content together, so have a look around, and be sure to come back to see what else will be new!

Read More