How can I use the implode function to join an array into a string in PHP? Example code: - Biz Tech

How can I use the implode function to join an array into a string in PHP? Example code:

Listen
$fruits = array("apple", "banana", "orange");

$string = implode(", ", $fruits);

echo $string;