Array Comparison Problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Array Comparison Problem

Community, I need a help. (PHP) I have two arrays. $data with two keys : id and name $id with values. (No keys) What I want is that if the (id of $data) is not equal to (values of $id) then print the name of that key. Hope to find a quick response 😉😉😉

29th Apr 2020, 10:37 AM
Amryt Tymsyna
Amryt Tymsyna - avatar
1 Answer
+ 2
Can you save a copy of the code in SoloLearn and share the saved code link in your thread Description? it will help others who wants to help understand your situation better. Or at least describe what the arrays look like, it might improve clarity to the problem. In case you didn't know how, follow this guide to sharing links 👍 https://www.sololearn.com/post/75089/?ref=app
29th Apr 2020, 12:24 PM
Ipang