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
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Using php Variable nuRunQuery
-
- Posts: 42
- Joined: Sat Jul 18, 2015 8:04 pm
- Has thanked: 3 times
Re: Using php Variable nuRunQuery
Craig,
Look in the Debug Form after you run it for an SQL error.
AND don't use <?php
Steven
Look in the Debug Form after you run it for an SQL error.
AND don't use <?php
Steven
-
- Posts: 42
- Joined: Sat Jul 18, 2015 8:04 pm
- Has thanked: 3 times