May 8th, 2010, 10:36 AM
Hi Julie,
Sure, no worries! In that case, don't bother creating that unique key field in the database - or if you already have, just go and delete it.
Next, tweak your code a bit to remove any reference to it:
And that's it!
- Ben
Sure, no worries! In that case, don't bother creating that unique key field in the database - or if you already have, just go and delete it.
Next, tweak your code a bit to remove any reference to it:
PHP Code:
<?php
require_once("/home/xxx/public_html/formtools/global/api/api.php");
if (isset($_GET["submission_id"]))
{
$form_id = 2;
$view_id = 1;
$export_type_id = 1;
$submission_info = ft_api_get_submission($form_id, $_GET["submission_id"]);
ft_api_show_submission($form_id, $view_id, $export_type_id, $_GET["submission_id"]);
}
echo $submission_info["element_1"]; // first name!
echo $submission_info["element_2"]; // last name!
?>
And that's it!

- Ben