I am not a technical person, but a semi technical business man and learning/creating my own website.
I want to pass JS variables (from html page) to my another Php page.
NOTE** I am getting redirect with required parameters in URL (title). Now, I want to pass another variables, but not through the URL
Here is my html page code:
$.ajax({
type: 'GET',
url: "'search_result.php' + '?title=' + dtitle",
data: { selectedFT: "hello"}
});
And my php page code:
<php>
$fueltype = $_GET['selectedFT'];
echo $fueltype;
// I will be using this variable as $fueltype in my further code.
?>
Appreciate your help. I wasted many hours to solves this through google, but nothing fits.
Please provide me sample so that I can understand easily.