I need one help. I need to pass some parameter to another php file and display it using PHP. I am explaining my code below.
user.php:
<?php
$product_id=$_POST['product_id'];
?>
I need to pass this parameter ($product_id) to the following file by calling it.
saveUser.php:
<?php
$newCustomerobj->product_id =$_REQUEST['product_id'];
print_r($newCustomerobj);
?>
Here i need to pass the value from user.php to saveUser.php.Please help me.