if ($myuser) {
$command=”SELECT * from users WHERE username=’$myuser’;”;
$result = mysqli_query($db, $command);
if ($result && mysqli_num_rows($result) > 0){
while($row = mysqli_fetch_assoc($result)) {
if ($row[‘access_level’]==’1′) {
echo “Add stuff here!”;
}
else if ($row[‘access_level’]==0){
echo “Add specific stuff here!”;
}
}
}
} else {
echo “Add general stuff here for any non-member!”;
}
© 2018 ALL Rights Reserved | Sitemap
Vancouver | North Vancouver | Burnaby | Richmond | Coquitlam | Port Coquitlam | Surrey | Langley | Maple Ridge | Mission | Abbotsford | Kamloops | Kelowna | Victoria | Squamish | Whistler | Pemberton