Welcome to the nuBuilder Forums!

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

nuTT() Example correction

Questions related to using nuBuilder Forte.
Post Reply
kev1n
nuBuilder Team
Posts: 4305
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

nuTT() Example correction

Unread post by kev1n »

Hi Steven,

This Wiki example needs correction:

$string = nuTT()

https://wiki.nubuilder.cloud/ ... p/PHP#nuTT

Now:

Code: Select all

$tmp = nuTT();

$s   = "CREATE TABLE $t SELECT * FROM customer";

nuRunQuery($tmp);

Shouldn't it look like this?

Code: Select all

$tmp = nuTT();

$s   = "CREATE TABLE $tmp SELECT * FROM customer";

nuRunQuery($s);
And you could probably add an example on how the SQL looks like in the Browse SQL:

Code: Select all

SELECT * FROM #TABLE_ID#
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: nuTT() Example correction

Unread post by admin »

kev1n,

Fixed!

Thanks for pointing it out.

Also I have updated this https://wiki.nubuilder.cloud/ ... /Forms#SQL


Steven
Post Reply