¡@

Home 

php Programming Glossary: amenity_id

How do i Insert Multiple records in one database trip using PDO?

http://stackoverflow.com/questions/6235669/how-do-i-insert-multiple-records-in-one-database-trip-using-pdo

i have a table called propAmenities which holds two column amenity_id and property_id basically the table holds the foreign keys... for the below statement. INSERT INTO propAmenities amenity_id property_id VALUES 1 1 2 1 3 1 i tried using the following syntax.. work. sth this dbh prepare 'INSERT INTO propAmenities amenity_id property_id VALUES amenity_id property_id amenity_id property_id..