send value from one page to another in php

133

send value from one page to another in php -

//On page 1
$_SESSION['varname'] = $var_value;

//On page 2
$var_value = $_SESSION['varname'];

Comments

Submit
0 Comments