Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Nomenclature

Locked
rradunz
Posts: 6
Joined: Fri Mar 29, 2013 11:14 pm

Nomenclature

Unread post by rradunz »

I am confused about the nomenclature I should use in different places to refer to database fields.
I read the hash variables section, but it is still not clear to me, so...

Can someone please explain with examples how to refer to a field "field1" in the various instances (form, object, etc.) on nuBuilder using each one of the 3 languages:

1- in a SQL statement, including those fields coming from the second table in a JOIN select
2- in a PHP statement
3- in a JavaScript statement

thanks in advance!
:D
RR
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Nomenclature

Unread post by massiws »

Ronaldo,
from the wiki page:
The way nuBuilder uses hash variables is by replacing all valid hash variables with their values before the cusom code or SQL statement is run.
Depending on section where you put your code, you have some hash variables that you can use to set/get a specific value. Have a look at these pages http://wiki.nubuilder.com/tiki-index.ph ... ustom+Code: on eache page there is an example on how to use hash variables.

Hope this helps,
Max
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Nomenclature

Unread post by admin »

.
Locked