![]() |
#5
|
||||
|
||||
![]()
"Some of the items are and others aren't" -- based on what criteria?
To remove an item - You need to know it's name and the amount you want to remove. You'd need something this on a form (or ajax) submission. PHP Code:
To add a column to the database - Log into phpmyadmin. Visit the 'adopts_users' table. Open the Structure tab. At the bottom, hit 'Go' at the end of 'Add Column'. Call it lastday. Let's just go with it being VARCHAR 20, and NULL is an okay value if its never been filled before. ![]() Alternatively, you can just enter SQL from the third tab: Code:
ALTER TABLE `adopts_users` ADD `lastday` VARCHAR(20) NULL DEFAULT NULL ;
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 02-06-2016 at 02:01 AM. |
|
|
What's New? |
What's Hot? |
What's Popular? |