Newbie Spellweaver
- Joined
- Jul 4, 2012
- Messages
- 86
- Reaction score
- 8
Hey guys, im working on a revcms shop and i stumbled upon an issue.
Basically i have a furnipack shop where i need help with how i can insert same row like 10 times.
This is because i have a row for inserting for example a throne, and i want them to get 10 thrones, how do i do that? THis is the current row i use:
Picture of shop:
Basically i have a furnipack shop where i need help with how i can insert same row like 10 times.
This is because i have a row for inserting for example a throne, and i want them to get 10 thrones, how do i do that? THis is the current row i use:
PHP:
mysql_query("INSERT INTO `items` (`id`,`user_id`, `room_id`, `base_item`, `extra_data`) VALUES (NULL,'" . $_SESSION['user']['id'] . "','0','202','');
Picture of shop: