note 22523 added to ref.odbc

From: Date: Thu, 20 Jun 2002 21:40:24 +0000
Subject: note 22523 added to ref.odbc
Groups: php.notes 
Request: Send a blank email to php-notes+get-32061@lists.php.net to get a copy of this message
I had problems with access and reserved words. I could select data but couldn't insert data. It was a real headache but you can get around it by using [] in your insert command. $sql66 = "INSERT INTO $tablename ([level], [ADMIN]) Values ('$level', '$State')"; Smebody mentioned it above but heres another way to use it. Those [] also help if your having problems with "white spaces" between data. -- http://www.php.net/manual/en/ref.odbc.php http://master.php.net/manage/user-notes.php?action=edit+22523 http://master.php.net/manage/user-notes.php?action=delete+22523 http://master.php.net/manage/user-notes.php?action=reject+22523

« previous php.notes (#32061) next »