how to separate column in data array?
For example, the step to separate the data in the hidden column becomes
Hidden = True
Hidden = False?
ex: Hidden = Lorem, Dolor, Sed.
Show = Ipsum, Sit, Amet.
and then, initialize all $raw data to (a and b)
ex:
A = Hidden
B = Show
after that, retrieve data from (a and b)
then (a and b) are sorted based on the data (a and b)
ex:
A = Dolor, Lorem, Sed
B = Sit, Ipsum, Amet
Sorry, im junior in PHP.
would you like to explain with code for the condition, this array data have a Hidden:true(1,null) and Label: String.
i need to regroup the data Hidden and Label first.
ex logic result and the output:
1. Group Hidden and Show
2. $raw have (a,b)
3. a = Hidden -> A-Z into top
b = Show -> Z-A into top
Sort hidden into top with A-Z (ASC)
Sort Show into bottom with Z-A (DESC)
1 = Hidden | ASC
= Show | DESC
1 Amet
1 Consectetur
1 Ipsum
1 Lorem
1 Sed
Adipiscing
Dolor
Elit
Sit
I don't know how to explain it with code.
Can you help me to explain this with code?
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.