Write the javascript and PHP code that follows the html code
below for the creation of the page productStatus.php.
productStatus.php
<body>
Produkt ID:<input type="text" id="idp"/>
<div id="status"></div>
</body>
On change of the value of the text field "idp", display on the div
id ="status" the product amount found in the storage(UnitsInStock)
for the given product id. The product data is stored on the table
Products(ProductID, ProductName, UnitsInStock). The credentials to
access the database are: servername-localhost, username-admSys,
password-admin123$.
Write the javascript and PHP code that follows the html code below for the creation of the page productStatus.php. produ
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am