Page 1 of 1

nuTT() Example correction

Posted: Fri Aug 14, 2020 11:15 am
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#

Re: nuTT() Example correction

Posted: Sat Aug 15, 2020 1:29 am
by admin
kev1n,

Fixed!

Thanks for pointing it out.

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


Steven