Wenn ich per AutoExecute einen Insert absetzen will bekomme ich nicht das gewünschte Ergebnis. folgender Code
Ausgabe:
(mysql): INSERT INTO user ( ID ) VALUES ( 0 )
Warum wird user nicht eingetragen?
PHP-Code:
$connection = &ADONewConnection("mysql");
$connection->Connect("localhost","root","", "test");
$connection->debug=true;
$record['id'] = '';
$record['user'] = 'Ich';
$connection->AutoExecute('testtable',$record,' INSERT')
Ausgabe:
(mysql): INSERT INTO user ( ID ) VALUES ( 0 )
Warum wird user nicht eingetragen?
Kommentar