The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Well, I would like to add the same data into 2 tables in just 1 query.
Is this possible or should I use 2 querys? I tried to do something like: $DB_site->query("INSERT INTO tablename1, tablename2 (threadid,userid,username,customfield1,customfield 2) VALUES('".$threadinfo['threadid']."','".$bbuserinfo['userid']."','".$customfield1."','".$customfield2."')"); But that didn't work.
|
|
#2
|
|||
|
|||
|
It's not possible...you need 2 queries.
|
|
#3
|
|||
|
|||
|
Quote:
|
![]() |
|
|