I got a little problem with my assignment.
The idea is to create online bookstore.
As far didn't have much troubles with the project, until now.
Problem occures when I'm trying to update/delete an entry to mySql.
if you take a look at line 93 - there is 3times equal mark, in this case update works nice, but while I'm trying to delete entry - typing 0
, than only quantity is removed form sql(equals to 0), but if you remove "=" than no metter what you type in, whole entry is been removed form sql - it should do this only after typing 0.
Dont use the $_GET statement in Biiim statment, use $_POST. The only time you use GET statement, is if you are submitting your form using a url. in this case you would need to have the form method="GET", but your using method="POST"