I am trying to pass two variables from one script to another, one of them goes fine, the other disappears.
The variabels are set in loggedin.php, and I am trying to read them in messageadmin.php
message admin is like this
<?php
include ("header.php");
//some if's etc
echo $name ;
echo $mid ;
?>
header.php is like this
include ("loggedin.php");
//some if's etc nothing to change $mid or $name
and loggedin.php is
//sql query etc
$name=$query_data[2]
$mid=$query_data[0]
$name is being passed fine, but everytime I read $mid it has no value.