I submit the data to post[submit] and post[request] from two different buttons.
I submitted user_id to post[submit] but i am unable to echo the user_id in request portion (post[request])
/* passing the data from two different form*/
if(isset($_POST['submit']) || isset($_POST['request']) ){
if(isset($_POST['submit'])){
echo "submit working ";
$user_id= $_POST['user_id'];
echo $user_id; /* this id passed from submit form*/
}
else{
echo "Request Portion Working";
echo $user_id; /*this line gives the error*/
}
}
I submit the data to post[submit] and post[request] from two different buttons.
I submitted user_id to post[submit] but i am unable to echo the user_id in request portion (post[request])