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
You can use URLs to pass the value too.
like
index.php?id=1&value=certain
and access it later like
$id = $_GET['id']; $value = $_GET['value'];
However, POST might be much reliable. Sessions/Cookies and database might be used to make the values globally available.