![]() |
Product Install Code - Adding a row for each row in user
Upon product install I need to add a row to a mysql table for each row that is in the table 'user'. How would I do this bring the userid and username intot he new table? I think it's something like this:
Code:
$vbuser =& $vbulletin->userinfo; |
Untested, but should work (if I havn't added a typo or smth.)
PHP Code:
|
Ahh, suprised I didn't think of that for the query, but will that add a row every user in the table 'user' when the product is installed? What if there is 300 users in the table? it looks like this will only add 1 row.
|
It should add rows for all users.
|
Thank you it did work.
|
All times are GMT. The time now is 03:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|