<?php
// Array of customer names (You can fetch this data from your database)
$customerNames = ["John Doe", "Jane Smith", "Alice Johnson"];

// Convert the array to JSON and echo it
echo json_encode($customerNames);
?>