Hi all, now if I've understood the code below correctly, if I add the
line;
$session_dean_id = $hResult('dean_id');
At the bottom I will create a new variable named '$session_dean_id'
which will have the value grabbed from the table 'iUser' from the
'dean_id' column. Am i right or way off?
Many thanks
$sQuery = "
Select iUser, dean_id
From tblUsers
Where sGUID = '$sGUID'";
$hResult = mysql_query($sQuery, $hDB);
if(!mysql_affected_rows($hDB)) {
// No match for guid
header('Location: ../login.php?refer='.urlencode($PHP_SELF.'?'.$HTTP_SE RVER_VARS['QUERY_STRING']));
}