How to pass variables from a php file to another while it is not html inputs ,just i have a link refer to the other file and i want to pass variables or values to it
Exa
Use sessions to store any small value that needs to persist over several requests.
File1.php:
session_start(); $_SESSION['var'] = 'foo';
File2.php:
session_start(); $var = $_SESSION['var']; // $var becomes 'foo'