0
Good.
How best to pass an input value to a php session variable without page Reload?
For example, with this method the page does the Reload:
<form method="post">
<input type="text" name="valor1" onchange="submit()">
</form>
<?php
session_start();
if($_POST['valor1']){
$_SESSION['valor1'] = $_POST['valor1'];
}
?>
How can I get the same result without Reload?
With Jquery + AJAX
– Costamilam