Hello I am using mysql_query() to get some data from the table (3000+ rows). Then I use ORDER BY function to sort descending. Then I use while($row = mysql_fetch_array($result)){... to show data. Sorting works for some rows but then data is randomly sorted. Is there a limit on number of rows you can sort like this? Thank you for your help in advance!
Can you post some of your code??? ORDER BY is not a function but should be part of the SQL query itself so need to see what the code is doing. As far as I know there is no limit to the number of rows you can sort but suppose using LIMIT BY (for pagination) could have some cause but again would need to see the code.
SOLVED! Thank you all for trying to help! Problem was in field type. I've set it to float and it works now! Thanks again.