Php script to create a parking lot in the database on server side.
Adding a check to make sure that parking lot has some capacity.