How to convert array to string in php?

If the list isn’t long and is only those two, you can try

print($array[0] . ' and ' . $array[1]);