<?php
// Establishing connection with server by passing "server_name", "user_id", "password".

$name2=$_POST['rg']; // Fetching Values from URL
$email2=$_POST['sp'];
$contact2=$_POST['hdd'];
$gender2=$_POST['remarks'];
echo "$name2";
?>