Using php Variable nuRunQuery
Posted: Mon Aug 10, 2015 4:35 pm
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
<?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