📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
boot
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📁
css
-
0755
🗑️
🔒
📁
js
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
1922.96 KB
0644
🗑️
⬇️
✏️
🔒
Editing: fetchdata.php
<?php // Include your database connection here include "../connect.php"; if (isset($_POST['shop'])) { $selectedShop = $_POST['shop']; $thedate = $_POST['date']; //fetch quantity $sql = "SELECT * from chb_inventory where product='$selectedShop'"; $sql2 = mysqli_query($con,$sql); while ($row = mysqli_fetch_array($sql2)) { $maxquantity=$row['inventory']; } echo '<label id="packsLabel">Quantity Deducted</label><input type="number" max="'.$maxquantity.'" class="form-control" name="quantity" required /><br />'; } ?>
💾 Save Changes