Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- newlab(Department_Name,Total_PC,MAC,Lab_Code,PC_Name,Purchase_Order_No,Brand,Model_Name,Price,Processor,Ram,HDD,HDD_Type,OS)
- maintenance(Department_Name,MAC,Lab_Code,PC_Name,Purchase_Order_No,Brand,Model_Name,Price,Processor,Ram,HDD,HDD_Type)
- $sql = "INSERT INTO ` maintenance`(MAC,Lab_Code,PC_Name,Purchase_Order_No,Brand,Model,Price,Processor,Ram,HDD,HDD_Type)SELECT MAC,Lab_Code,PC_Name,Purchase_Order_No,Brand,Model_Name,Price,Processor,Ram,HDD,HDD_Type FROM `newlab` WHERE PC_Name='".$PC_Name."'";
- $ress = mysqli_query($con,$sql);
- if(!$ress)
- {
- echo "Not done";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement