Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Using nubuilder php functions

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
mariri
Posts: 45
Joined: Mon Sep 02, 2019 11:54 am

Using nubuilder php functions

Unread post by mariri »

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.cloud/index.php/PHP) in a new php files created by myself ?

Thanks for ur help!
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Using nubuilder php functions

Unread post by kev1n »

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

Code: Select all

require_once('nudatabase.php');
mariri
Posts: 45
Joined: Mon Sep 02, 2019 11:54 am

Re: Using nubuilder php functions

Unread post by mariri »

Ok it works now. Thanks !
admin
Site Admin
Posts: 2822
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

Re: Using nubuilder php functions

Unread post by admin »

.
Post Reply