Inserting data in a table!

From: Date: Sat, 22 Jul 2000 14:35:57 +0000
Subject: Inserting data in a table!
Groups: php.general 
Request: Send a blank email to php-general+get-7675@lists.php.net to get a copy of this message
I am trying to insert values into a table using odbc, i have succesfully connected to the data base and when i send the SQL insert command everething seems to be allright, $result is a proper identifier, everything is just fine exept that the table remains without any change, nothing happens and i dont know why, i have tryed with '$col', $col and nothing happens. Here is the code: $result = odbc_exec($db,"INSERT INTO TABLE (COL1, COL2, COL3) VALUES ('$col1', '$col2', '$col3')"); Pls Help me if you can. Otto

« previous php.general (#7675) next »