Maybe some other instance of your program is changing the sort order at the same time?
Even the MySQL documentation tells us that this ordering will not respect changes to the table.
You shouldn't rely on such a feature but use the order by clause in your SELECT statements.
Also, you should show some representative examples of data in your table, and the exact SELECT statements you run, and the exact output you get, and the exact output you expect. It makes it relatively hard for us to slog through the reams of code you post, half of which is commented-out debris from other attempts by you.
Please take some time to prepare a short, self-contained example that we can run to reproduce and maybe fix your problem. It should be shorter than 20 lines.
In reply to Re^9: CGI Action call
by Corion
in thread CGI Action call
by tultalk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |