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
For the scenario of the kslbdcom of question 2(picture). Design a part of the webservice named "webservice.php" that wil
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am