pierre.pistoulet
posted this
03 February 2021
Hello
I have struggled to be able to launch a PHP script to access a database table (inserting new data, selecting existing data inside). Indeed all the documentation within Nicepage is more to just send an email in case we click the "Submit" button of a form.
Example 1 attached (screenshot of the form & php script) finally works fine on both local (wamp) and distant servers. The project was exported in HTML.
Example 2 is different from 1st example in the way it uses a template from Nicepage which is extracted on Joomla (I believe that the extract on HTML is said to be not valid -- template ID: 23330). In this case eventhough the "Submit (Valider)" button is linked to the php script URL, it does not work. Even the script looks not to be executed at all. Indeed I do not see the logfile created which was working fine in example 1.
How shall I do? Is there some documentation somewhere?
Attached files to give a maximum detail.
Thanks, Pierre
Hello
I have struggled to be able to launch a PHP script to access a database table (inserting new data, selecting existing data inside). Indeed all the documentation within Nicepage is more to just send an email in case we click the "Submit" button of a form.
Example 1 attached (screenshot of the form & php script) finally works fine on both local (wamp) and distant servers. The project was exported in HTML.
Example 2 is different from 1st example in the way it uses a template from Nicepage which is extracted on Joomla (I believe that the extract on HTML is said to be not valid -- template ID: 23330). In this case eventhough the "Submit (Valider)" button is linked to the php script URL, it does not work. Even the script looks not to be executed at all. Indeed I do not see the logfile created which was working fine in example 1.
How shall I do? Is there some documentation somewhere?
Attached files to give a maximum detail.
Thanks, Pierre
Vote to pay developers attention to this features or issue.