CodeIgniter Forums
order by problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: order by problem (/showthread.php?tid=46344)



order by problem - El Forum - 10-28-2011

[eluser]Bigil Michael[/eluser]
my table is like this


Quote:id name amount

1 A MTAw
2 B MTAwhj
3 C MTAwhjjhj
4 D hghfddfd

here amount field contains base64_encode(amount).

i want to sort this table in decreasing order of amount.since charecters are inside this amount column i didn't get the correct result.
tried a lot but no result.
can anyone help me???
thanks in advance..........