ok

Mini Shell

Direktori : /home/keydecors/www/ca/admin/app/controller/
Upload File :
Current File : /home/keydecors/www/ca/admin/app/controller/customer_profile_back.php

<?php
//include database configuration file
include("../model/dboperation.php");
$sp_medicine		    = 	mysqli_real_escape_string($mysqli , $_POST['sp_medicine']);
$profile_number		    = 	mysqli_real_escape_string($mysqli , $_POST['profile_number']);
$doctor_name		    = 	mysqli_real_escape_string($mysqli , $_POST['doctor_name']);
$hospital        		= 	mysqli_real_escape_string($mysqli , $_POST['hospital']);
$caddress        	    = 	mysqli_real_escape_string($mysqli , $_POST['caddress']);
$email        		    =   mysqli_real_escape_string($mysqli , $_POST['email']);
$phone          	    = 	mysqli_real_escape_string($mysqli , $_POST['phone']);
$mobile            	    = 	mysqli_real_escape_string($mysqli , $_POST['mobile']);
$rmedicine             = 	mysqli_real_escape_string($mysqli , $_POST['rmedicine']);
$activities             = 	mysqli_real_escape_string($mysqli , $_POST['activities']);
$discount             = 	mysqli_real_escape_string($mysqli , $_POST['discount']);
$vbusiness             = 	mysqli_real_escape_string($mysqli , $_POST['vbusiness']);
$sql		 =   "INSERT INTO swathi_cp(speciality_medicines,
                                            profile_no,
											dr_name,
											hospital_name,
											contact_address,
											email_id,
											phone,
											mobile,
											required_medicines,
                   							activities,
											discount_offered,
											volume_of_business)
                 VALUES	('$sp_medicine',
				           '$profile_number',
						   '$doctor_name',
						    '$hospital',
							'$caddress',
							'$email',
							'$phone',
							'$mobile',
							'$rmedicine',
							'$activities',
							'$discount',
							'$vbusiness')";	
if (!mysqli_query($mysqli,$sql)) {
  die('Error: ' . mysqli_error($mysqli));
}

header("location:../customer_profile.php");
?>

Zerion Mini Shell 1.0