Design a bill calculator for a restaurant that is connected to MYSQL database