i want to make a function that returns an array is it possible in php ? if so plz guide me i m new to php thanks
That's absolutely no problem at all. Just like this:
// Define your function function return_array() { // Set the array $array = array("key"=>"value","key2"=>"value2"); // And return it return $array; }