PHP Code

Make a Random Password Generator with PHP

Sometimes you just want to use a different password that is more secure than what you normally use. It's not always easy to get that password. Dreaming one up typically means that you will use at least some portion of the password that is associated with something you know. On the other hand, you may want to create an automatic registration system (such as in...
PHP Code

PHP: Parse a Substring without Chopping Words

Often times you need cut off a specific string of text to get just a piece of it, perhaps to fit an excerpt of the latest news on your homepage. When you want to do that, you'll need to use the substr() function to do that. The main problem with this though, is that if you create a substring of certain length, you can easily...
JavaScript Code

How to color rows based on values in Google Spreadsheets

Well, if it isn't completely obvious – I haven't written a post on my blog in a very long time. Call it writer's cramp, call it being too busy, whatever, I guess I've just been too lazy! Anyhow, it is my goal to get back to writing regularly. I'll be posting: more coding tips Internet Marketing tips games to play random stuff (like food, ok?)...
DHTML Code

How to add a calendar (date picker) to your web applications

For almost any webapp, it's critical to be able to enter dates. But how do you ensure that people enter them in the right format? How do you make it look good? The easiest answer to both of these questions is to use a calendar object of some sort. This not only can look great and restrict user input, but at the same time it...
Free code

Sort a Multidimensional Array with VB.Net

5 years ago I wrote this article on how to sort a multidimensional array with ASP. This morning I was contacted by James Philips of  Djanogly City Academy Nottingham, who told me that he found my article, and has adapted the function for VB.NET compilation. Additionally, he has modified it to allow sorting on numeric criteria so that numbers aren’t sorted as strings. With his...