•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 330,119 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,076 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 131 | Replies: 7
![]() |
Hi all,
I want to insert multiple records into a table using one query.
And my query is
INSERT INTO table2(id,message)
SELECT id FROM table1 WHERE condn,'hello'
but it displays an error....
Can you help me?
Thanx in advance....
jino
I want to insert multiple records into a table using one query.
And my query is
INSERT INTO table2(id,message)
SELECT id FROM table1 WHERE condn,'hello'
but it displays an error....
Can you help me?
Thanx in advance....
jino
We only have to do a very few things right in our life, so long as we don't do too many things wrong.
hi
Jino
what exactly you want to insert
insert data through forms or from one table to another table.
regards
nickyspace
Jino
what exactly you want to insert
insert data through forms or from one table to another table.
regards
nickyspace
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
DaniWeb Marketplace (Sponsored Links)
Similar Threads
- writitng data from php to mysql (PHP)
- MySQL INSERT not working. Why? (MySQL)
- Its really a problem on INSERT statement (MySQL)
- MySQL insert statement (MySQL)
Other Threads in the PHP Forum
- Previous Thread: create input boxes on the fly?
- Next Thread: Problem on PHP/Mysql Server


Linear Mode