...

View Full Version : How do I make numbers able to sort in xml?



ernie5229
01-30-2009, 09:34 PM
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!!!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum