0

Hi,
I’m trying to insert multiple text fields into MySQL database.
Each text field has a unique index key under a single user id.
The number of indexes will depend on the user.
Is this possible?
I never had to do this before and I was wondering if anyone could help with a little guidance.

I have not written any code for this yet because I’m not sure.

Thanks.

3
Contributors
3
Replies
26
Views
4 Years
Discussion Span
Last Post by phpDave
0

You can also insert multiple sets of values in one query:

INSERT INTO table_name 
(column1, column2, column3)
VALUES 
(value1, value2, value3),
(value4, value5, value6),
(value7, value8, value9)
0

Thanks for resposes.
I going to re-think question and repost it, thanks.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.