Brightie
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
oh it actually looks clean enough in the console bc of the json structure
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
is this nested too deeply or doesn't that really matter? @ἔρως
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
nvm
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
oh wait
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
hold on, quick question
the tasks & bugs would be the cumsum of tasks&bugs from all the projects in projects[] (as every group can have multiple projects)
but would it be wise to nest that many layers down or should I create a seperate JSON to hold the projects
and in the groups just put PROJECT[ id => 2, id =>4] etc
or how should I handle that one
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
alright, got it
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
what
so its literally just "addslashes(json_encode)" just like that?
oh didnt know it was an actual thing
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
at the add slashes, I assume you mean the path to the php file?
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
aight
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
alright
I think I understand
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
yh?
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
I see, makes sense, thanks
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
more steps or?
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
alright, im here!
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
aight, thankyou
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
isntead of the html page, which was merely for testing
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
oh, I can convert a php array into json
right yeh I looked it up while waiting xd
so I write the array in php, then I do array.json_encode() n then the json is there
then from there I use the data inside of the json file
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
so, just so I understand correctly what you're saying
I should create an array such as what I send in that message (but w/o the pass&mail)
then when that's been made, I do array.json_encode ?
I 've never worked w/ json before so yh
well, I have read data from it long ago but that's different
92 replies
KPCKevin Powell - Community
•Created by Brightie on 12/5/2024 in #front-end
Array.toSorted() thinks 6 is higher than 49
but how do I get the json then? xd
92 replies