D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
shubmkcj
/
urbane.createerp.com
/
Filename :
insert_deposite_payment.php
back
Copy
<?php ob_start(); session_start(); include 'config.php'; $date = $_POST['date']; $company_name = $_POST['company_name']; $payment_mode = $_POST['payment_mode']; $deposite_amount = $_POST['deposite_amount']; $reference = $_POST['reference']; $sql = "INSERT INTO `deposite_payment`(`company`, `deposite_amount`, `mode`, `refrence`, `date`) VALUES ('$company_name','$deposite_amount','$payment_mode','$reference','$date')"; if ($conn->query($sql) === TRUE) { $_SESSION['insert1'] = "insert1" ; echo '<script>location.replace("contact.php")</script>'; } else { echo '<script>alert("Error !")</script>'; } ?>