<?

require_once('../EpiDBClient.php');

$data = 'data';

$client = new EpiDBClient();
$res = $client->survey_submit($data);

print "$res\n";


<?

require_once('../EpiDBClient.php');

$key = '0123456789abcdef0123456789abcdef01234567';
$data = 'data';

$client = new EpiDBClient($key);
$res = $client->survey_submit($data);

print "$res\n";


Update example to use api-key.
[php] Update example to use api-key.
