I'm creating a movie rental site and need to set the availibility of each movie. If its available, the user needs to be able to rent it, if it isnt they need to be told so. In the admin section the availibility of the movie needs to be set.
Now im guessing I need to add a column in the the database table 'availibility' and then link to that via a checkbox? If its checked the user can rent it, if not they get a message or something saying the film is unavailable?
What is the code to enter checkbox data into a database?