0

How to insert data using odbc php-mysql

hi everyone, i need to insert multiple data using odbc, i tried many methods from website but failed. scenario / requirement: connection already setup in "dbconfig.php" 1. odbc autocommit set to false 2. declare sql query , 3 queries 3. then, odbc_exec 4. check if query & connection is true, no error 5. then, if query error occured -> rollback, show error in php 6. else, true-> commit those all 3 query I would like a example, simple if possible. thanks for your guidance.

31st Jul 2017, 1:18 PM
WEN HAN KHO
WEN HAN KHO - avatar
1 Answer
+ 1
what is ur error?
27th Aug 2017, 7:07 AM
Hallo Srood
Hallo Srood - avatar