note 73506 added to function.mysqli-query
| From: | php-general at lists dot php dot net | Date: | Mon, 26 Feb 2007 22:03:40 +0000 |
| Subject: | note 73506 added to function.mysqli-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-123909@lists.php.net to get a copy of this message | ||
anyone have any ideas why the following does not affect my db at all?
$query="INSERT INTO
responses
(SurveyID,QuestionNumber,NumericVal) VALUES
('".$survey_id."','".$k."','".$v."')";
mysqli_query($dbh, $query);
interestingly, when i echo $query, i can copy/paste it into my sql frontend and it executes without
a hitch.
i'm using mysql5 and php5. $dbh is my link and i'm sure that it works. no errors are
thrown when these lines are run.
thanks in advance
----
Server IP: 216.194.113.175
Probable Submitter: 129.10.110.30
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-query.php
Edit -- https://master.php.net/note/edit/73506
Del: integrated -- https://master.php.net/note/delete/73506/integrated
Del: useless -- https://master.php.net/note/delete/73506/useless
Del: bad code -- https://master.php.net/note/delete/73506/bad+code
Del: spam -- https://master.php.net/note/delete/73506/spam
Del: non-english -- https://master.php.net/note/delete/73506/non-english
Del: in docs -- https://master.php.net/note/delete/73506/in+docs
Del: other reasons-- https://master.php.net/note/delete/73506
Reject -- https://master.php.net/note/reject/73506
Search -- https://master.php.net/manage/user-notes.php