By mnp on
hi all
i created a form using taxonomy terms as text fields and other extra two fields for each term row in a table format
only one term values are inserting now
how to insert all rows values to database
hi all
i created a form using taxonomy terms as text fields and other extra two fields for each term row in a table format
only one term values are inserting now
how to insert all rows values to database
Comments
Please any can help thanks
Please any can help
thanks
You may be interested in this related post:
https://drupal.org/node/1021018#comment-3925462
Use the following..
I don't understand what is your problem exactly. But you can apply the following logic.
db_query("INSERT INTO {Table} ( Column1, Column 2 ) VALUES( Value1, Value2 ), ( Value1, Value2 )");