UPDATE:
I found a php function which takes much of the hardest part of this problem and makes it easier. The function is version_compare().
—————————
What’s the problem? Say you have a version number such as 1.2.3 stored in a MySql database as a varchar, and you want to sort this version number. Without any decimals, here is [...]

Tags: , , , , ,