i have to insert a lot of data where it might be also use as foreign key at different table.is that possible to add 1 time together the value to all table?can give any example?thx in advance!:)
stanley87
0
Light Poster
Recommended Answers
Jump to PostWhere do u have to insert the data, to a MySQL table?, or to an array?
It can be done assuming that the tables or arrays in which you want to insert the data have a common key.
Jump to PostHi, well it's fairly easy, assuming that you use MySQL, this would be done using SQL queries according to the number of tables that needs to be updated, in this particular example we're updating two tables so two queries are executed the queries should be wrapped in a single function …
All 7 Replies
Triztian
0
Light Poster
stanley87
0
Light Poster
Triztian
0
Light Poster
mohammed yaghi
0
Newbie Poster
stanley87
0
Light Poster
stanley87
0
Light Poster
sahromo
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.