I want to sort a column from mysql DB, and store it in an array. After fetching, I am doing under steps.
- In the row format, type field array field 1, field 2, field 3, field 4, field 5, obtained in DB,
- a column data [field 3] from that field, string Swapping keywords for example.
AB013, DB131, RS001
should be created:
013AB, 131db, 001 rs
Now I have the new string The format like-> 001 rs, 013 ab, 131 db
, I want to sort the above value, it is not like to divide the fixed number for the swapping string and join the string then a dynamic Is the value that allows the fetch data string to be divided by the position of the character given to that string and then the new Program of sorts again.
Post-text "itemprop =" text ">Why do not you work DB (for fixed position data in your example):
Select Field1, Field2, SwapedField3, Field4, Field5, by the table order, by the
ConSat (substroke (field 3,3,3), substrate (Field 3,1,2)), but this In the 'dynamic value' account for the split status ...
- Where does this value come from?
- Is this data any way to guess?
Comments
Post a Comment