Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

nuTT() Example correction

Questions related to using nuBuilder Forte.
Post Reply
kev1n
nuBuilder Team
Posts: 4562
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 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: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 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