Jump to content

[SOLVED] Order


jaymc

Recommended Posts

How Can I order the below...

[b]Bounce To The Bass 5
Bounce To The Bass 6
Bounce To The Bass 7
Bounce To The Bass 8
Bounce To The Bass 9
Bounce To The Bass 13
Bounce To The Bass 16
Bounce To The Bass 10 CD 1
Bounce To The Bass 10 CD 2
NRGetik Beatz Battle Round 1
NRGetik Beatz Battle Round 2[/b]

So it comes out like

[b]Bounce To The Bass 5
Bounce To The Bass 6
Bounce To The Bass 7
Bounce To The Bass 8
Bounce To The Bass 9
Bounce To The Bass 10 CD 1
Bounce To The Bass 10 CD 2
Bounce To The Bass 13
Bounce To The Bass 16
NRGetik Beatz Battle Round 1
NRGetik Beatz Battle Round 2[/b]

They are all in a MYSQL database by the way, its just because strings are alpha numeric it cant order the way i need it to
Link to comment
https://forums.phpfreaks.com/topic/33256-solved-order/
Share on other sites

Do some research on bitwise operators..perhaps you will have more luck with them turning the string into binary with the bitwise functions..although i am new to them and have only read about them recently in the new book i got for christmas..they may help..
Link to comment
https://forums.phpfreaks.com/topic/33256-solved-order/#findComment-155300
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.