Greetings! I found this tutorial
http://phpeasy.co.uk/tutorial-object...-crud-methods/ so great! But I have a small problem about the update and delete part, I don't understand, but I found my own way to solve it, I just add another method and it works well.
Code:
 public function id()
	{
	return $this->id;
	}
My problem is I'm using GET method in deleting my items and I don't know how to secure my data. Whenever I tried to put in my url mysite/delete?='id value here' , my data deletes even if I'm using pdo. Is there any way to prevent user from doin it? thank you.