"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:
$item_name = "Flower";
$qty = 5;
$item = new PrivateItem($item, $mysidia->user->username);
$item->remove($qty, $mysidia->user->username);
As for a button - Anything with a button will either send users to another page (with a form) or require ajax (which I know how to do now, but it isn't built into Mysidia's core functionality to allow ajax). These aren't official notes, they're my notes, but there's details on how to make forms the built in way
here. I'd suggest examining how
donate.php and
view/donateview.php work together to allow users to send one another money via a form.
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 ;
While we're at it, I suggest checking out this tutorial on
how to make an explore system.