Hi,
I’ll use a txt file to store locations in it. When I user click on button, the locations will be read from txt file and stored in an array. If more than 1 user run this script, will it cause problem like “File is already open”? It this reliable.
Thanks
<?php
$myFile ='locations.txt';
$myArray = file ($myFile);
foreach($myArray as &$value) {
insert into a combobox = trim($value);
}
unset($value);
?>