Question: Write PHP a program to find an element in an array. Array = [mango, orange, grapes, kiwi, pineapple, melon] Give a fruit name of yourselft
Write PHP a program to find an element in an array. Array = [mango, orange, grapes, kiwi, pineapple, melon] Give a fruit name of yourselft and return element if the element exists or return element not present. 1. If you give mango as variable your program return mango 2. If you give strawberry as variable your program return element does not exist
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
