skip to Main Content

PHP refactor result array

I have 2 arrays in the shape: $langs = [ 5 => "english", 10 => "french", 12 => "german" ... ]; Where the keys are the ids of the languages. And: $posts = [ [ "date" => "13-07-2022", "lang_id" =>…

VIEW QUESTION
Back To Top
Search