08-03-2017, 08:59 AM
Hi Firestorm
Thanks for the idea, although I still can't quite make it work
I have put the following in
<?
if(checkMenu(3,$user->data->id) {
echo "<p>Not yet registered. Click here to return to Home page</p>";
} else {
echo "<p>Click here to enter the Online Programme</p>";
}
?>
But I get this error message
Parse error: syntax error, unexpected '{' in /var/sites/public_html/onlinecourse/users/account.php on line 61
Line 61 is this
if(checkMenu(3,$user->data->id) {
Am I making a simple error?
Thanks for the idea, although I still can't quite make it work
I have put the following in
<?
if(checkMenu(3,$user->data->id) {
echo "<p>Not yet registered. Click here to return to Home page</p>";
} else {
echo "<p>Click here to enter the Online Programme</p>";
}
?>
But I get this error message
Parse error: syntax error, unexpected '{' in /var/sites/public_html/onlinecourse/users/account.php on line 61
Line 61 is this
if(checkMenu(3,$user->data->id) {
Am I making a simple error?