Using nubuilder php functions

Questions related to customising nuBuilder Forte with Javascript or PHP.

Using nubuilder php functions

Postby mariri » Wed Oct 16, 2019 7:46 pm

Hi guys !

I add a new php file into the project for a custom code and when I use the nuDebug or nuRunQuery functions inside the file, there are not recognized :|
How can I use the php functions (https://wiki.nubuilder.net/nubuilderforte/index.php/PHP) in a new php files created by myself ?

Thanks for ur help!
mariri
 
Posts: 19
Joined: Mon Sep 02, 2019 7:24 pm

Re: Using nubuilder php functions

Postby kev1n » Wed Oct 16, 2019 9:01 pm

You could try to include nudatabase.php in your own php file by adding this line:

Code: Select all
require_once('nudatabase.php');
kev1n
 
Posts: 353
Joined: Mon Oct 15, 2018 2:13 am

Re: Using nubuilder php functions

Postby mariri » Mon Oct 21, 2019 9:48 pm

Ok it works now. Thanks !
mariri
 
Posts: 19
Joined: Mon Sep 02, 2019 7:24 pm

Re: Using nubuilder php functions

Postby admin » Fri Nov 01, 2019 2:45 pm

.
admin
Site Admin
 
Posts: 3158
Joined: Mon Jun 15, 2009 9:53 am


Return to Custom Code