Insert query using nuRunQuery
Posted: Fri Nov 27, 2015 10:29 am
hi nubuilderpro team and all,
first, I would like to thanks the team for the creation of nubuilderpro.
I encountered problem with Insert query using nuRunQuery.
I manually create a table via phpmyadmin:
then i create a custom code in the JavaScript section:
and create a JavaScript button to attach the function a() above.
However, it seem the query does not carry out in mysql, and there is not debug/error message in the nubuilderpro.
(the above insert query can be executed in the phpmyadmin)
Anything that i missed? Please guide, and thanks.
first, I would like to thanks the team for the creation of nubuilderpro.
I encountered problem with Insert query using nuRunQuery.
I manually create a table via phpmyadmin:
Code: Select all
create table test2 (col1 varchar(50) null)
Code: Select all
function a()
{
nuRunQuery("insert into test2 values (1)");
}
However, it seem the query does not carry out in mysql, and there is not debug/error message in the nubuilderpro.
(the above insert query can be executed in the phpmyadmin)
Anything that i missed? Please guide, and thanks.