Jun 27th, 2017, 8:21 AM
(This post was last modified: Jun 27th, 2017, 8:39 AM by Polkafest.
Edit Reason: server info removed
)
I created some forms with the fabulous tool, but now I am stuck in trying to show the information on my webpage.
I added the "require" funciton , and copied / modified the provided example, but I am missing something.
I tried to login as client and as admin first, but the error I always get, is a GET error :-)
Error message:
database_queries.php:1 GET http://xxxxxxxx.nl/test/database_queries.php 500 (Internal Server Error)
If this is already covered in another post, I appoligize, please direct me to it.
I created an export function,
This is my Smarty Template
{$location_name} in {location_place}
This is my PHP code (I commented some code that I used for testing):
<?php
require("http://xxxxxxx.nl/formtools/global/api/api.php");
/* login as client ?
$account_info = array(
"username" => "polkafest",
"password" => " :-) "
);
list ($success, $message) = ft_api_login($account_info);
*/
/* login as admin?
$account_info = array(
"username" => " :-) ",
"password" => " :-) "
);
list ($success, $message) = ft_api_login($account_info);
*/
$page = ft_api_load_field("page", "page", 1);
ft_api_show_submissions(2, 3 , 5, $page);
I added the "require" funciton , and copied / modified the provided example, but I am missing something.
I tried to login as client and as admin first, but the error I always get, is a GET error :-)
Error message:
database_queries.php:1 GET http://xxxxxxxx.nl/test/database_queries.php 500 (Internal Server Error)
If this is already covered in another post, I appoligize, please direct me to it.
I created an export function,
This is my Smarty Template
{$location_name} in {location_place}
This is my PHP code (I commented some code that I used for testing):
<?php
require("http://xxxxxxx.nl/formtools/global/api/api.php");
/* login as client ?
$account_info = array(
"username" => "polkafest",
"password" => " :-) "
);
list ($success, $message) = ft_api_login($account_info);
*/
/* login as admin?
$account_info = array(
"username" => " :-) ",
"password" => " :-) "
);
list ($success, $message) = ft_api_login($account_info);
*/
$page = ft_api_load_field("page", "page", 1);
ft_api_show_submissions(2, 3 , 5, $page);