I have the crated the page and in the submit i call the another page. I pass the id and name in the url
my url is like
http://localhost/sfrefer/sf-refer-ap.php?id=45&cust_name=testing
in sf-refer-ap.php
i use the following code
$name= $_POST['name'];
$mobile= $_POST['mobile'];
$custname1= $_POST['cust_name'];
echo $custname1;
$sql = "INSERT INTO test1 (name,email,mobile) VALUES ('$cust_name','$email[$i]', '$mobile[$i]')";
empty value is going into database.... How to insert the id and cust_name in db