Hi all, now if I've understood the code below correctly, if I add the
line;
$session_dean_i d = $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($sQ uery, $hDB);
if(!mysql_affec ted_rows($hDB)) {
// No match for guid
header('Locatio n: ../login.php?refer ='.urlencode($P HP_SELF.'?'.$HT TP_SERVER_VARS['QUERY_STRING']));
}
line;
$session_dean_i d = $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($sQ uery, $hDB);
if(!mysql_affec ted_rows($hDB)) {
// No match for guid
header('Locatio n: ../login.php?refer ='.urlencode($P HP_SELF.'?'.$HT TP_SERVER_VARS['QUERY_STRING']));
}
Comment