<?
include('CitiesIsrael.php');
// create object
$citiesIsrael = new CitiesIsrael();
// get city name by id
echo $citiesIsrael -> getCity(13003237);
// creates a form with location select and sub-select box
// location[0] - zone id
// location[1] - city id
?>
<form action="examples.php" name="sdfds">
<?
$citiesIsrael -> displaySelectBoxes(3, 2813238);
?>
<input type="submit">
</form>
|