Page 1 of 1

Using php Variable nuRunQuery

Posted: Mon Aug 10, 2015 4:35 pm
by saultpastor
Would someone be so kind as to show me my error:

<?php

nuRunQuery("INSERT INTO response (res_name)
VALUES ('John Doe')");

?>

I'm running this as a php procedure, it should simply post "John Doe" into the column "res_name" in the table "response".
It works when I run it as a query in phpMyAdmin, I have searched an read but the answer is eluding me. I'm sure I'm making a very simple mistake...

Thanks,
Craig

Re: Using php Variable nuRunQuery

Posted: Wed Aug 12, 2015 4:59 am
by admin
Craig,

Look in the Debug Form after you run it for an SQL error.

AND don't use <?php

Steven

Re: Using php Variable nuRunQuery

Posted: Fri Aug 14, 2015 2:51 pm
by saultpastor
Steven,

Thank you for your patience.

Craig

Re: Using php Variable nuRunQuery

Posted: Mon Aug 24, 2015 7:33 am
by admin
.