For the scenario of the kslbdcom of question 2(picture). Design a part of the webservice named "webservice.php" that wil
Posted: Fri May 20, 2022 11:43 am
For the scenario of the kslbdcom of question 2(picture). Design a part of the webservice named "webservice.php" that will return at most 10 response in descending order of the customerld in XML format
Please write code in PHP.
Properties server = kslbd com user = shareuser = password = share123 name = sharedb Constructor construct Fields Description Database Server Database User Database user password Database name = Initializes MySQL database connection using mysqli_connect(). Methods insertCustomer(customerld, customerName, balance) selectAllCustomer() deleteCustomer(customerld) Insert customer data using mysqli_query() Select all customer data using mysqli_query() Delete info of the specified customer id using mysqli_query() Update the customers with the given customerId using mysqli_query() After buying a share deduce Balance. Implement it using MySQL updateCustomer (customerld, customerName, balance) BuyShare(customerld, value) Dovolon. DVD alasa ashoroolong with the specifications civen above
Please write code in PHP.
Properties server = kslbd com user = shareuser = password = share123 name = sharedb Constructor construct Fields Description Database Server Database User Database user password Database name = Initializes MySQL database connection using mysqli_connect(). Methods insertCustomer(customerld, customerName, balance) selectAllCustomer() deleteCustomer(customerld) Insert customer data using mysqli_query() Select all customer data using mysqli_query() Delete info of the specified customer id using mysqli_query() Update the customers with the given customerId using mysqli_query() After buying a share deduce Balance. Implement it using MySQL updateCustomer (customerld, customerName, balance) BuyShare(customerld, value) Dovolon. DVD alasa ashoroolong with the specifications civen above