List all store states

Name
listStates()
Example
<html>

<head></head>

<body>

<?php

require_once(‘eMaxApi.class.php’);

$eMax = new eMaxClient;

$statenameArray=$eMax->listStates();

?>

</body>

</html>
Result
Return distinct states list from eMax user’s account.
Description
This function is used to populate the state drop down or state navigational link. It returns the list of those states having your store.
Summary
Function returns single dimensional unique states array of all your stores.
eMax Store locator software
eMax Store locator software