Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
01-30-2009, 10:34 PM #1
- Join Date
- Jan 2009
- Thanked 0 Times in 0 Posts
How do I make numbers able to sort in xml?
I am using a php script to create xml from a mySql database. That data is used by Spry to populate a table on a web page. However, when Spry sorts a column of numbers, they are sorted as if they were strings, not numbers.
Example: The following would be the sort order for this list of numbers...
1, 123, 2.3, 26,456, 56, 589, ect...
Any ideas? Please help!!!