|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-02-15 12:48 UTC] moisey dot g dot oysgelt at mail dot sprint dot com
I tried to use this function with Microsoft Access Driver
$values = array( $ApplicantId ,$AnsQuestionId[$i],$Answer[$i]);
$query = "INSERT INTO Responses ([PersonId], [QuestionId], [Response], [Date]) ";
$query .= "VALUES(?,?,?," . strftime("#%Y-%m-%d#") .") ";
$result = odbc_prepare($connection, $query);
odbc_execute($result, $values );
and got error
Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect , SQL state 07001 in SQLExecute in D:/Xitami/webpages/moveit/index.php on line 46
I've checked without parameter. The statement worked fine.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 00:00:02 2025 UTC |
user reports: I've tried the same without bind variables ('?')[parameters] the statement worked ok. If I tried to bind variables into an array this did not work for me for ODBC with MS Access, the same worked with Oracle. Thanks for help