In this article I will show you how to order MySQL records by numeric values (numbers, integers & floats) from the smallest to the largest number or the other way around using a MySQL ORDER BY query.
Continue reading...Monday, October 1, 2007
I thought that some of you might find it useful to learn how to generate a string with random numbers and letters. I wrote a quick function for generating a string like this. See it below : function genRandomString() { $length = 10; $characters = ‘0123456789abcdefghijklmnopqrstuvwxyz’; $string = ”; for [...]
Continue reading...
Saturday, May 9, 2009
8 Comments