Calendar Pick-A-Date Scripts Reviewed

Posted on 11 November 2008 by LizzyFin

If you’re new here, you may want to subscribe to my RSS feed. Thanks for visiting!This week I needed to make a form where the user needed to enter two dates in order to produce a report with the selected start and end dates. What were my options?
I considered writing my own php script [...]

Limit of 127 Points to Wrong Numeric Type

Posted on 7 October 2008 by LizzyFin

Sometimes the simple things evade us when we’re caught up in the details. Thank goodness for manuals.
It turns outs that the numeric type that you select for your database variables matters greatly - DUH!
I had an occurrence last week where a client entered values over 200 in a form, yet when the numbers were stored [...]

Round Numbers to Next Whole Number in PHP

Posted on 17 September 2008 by LizzyFin

Time for a new php function, ceil().
A client needed to record the hours spent in particular activities by each member. The number of hours spent in assigned activities were to be entered in whole numbers, where partial hours were rounded up to the nearest hour. So, if someone spent an hour and twenty minutes on [...]