My setup.
Page_DataRendering()
$header = '<a href="(myTable)add.php">'; // custom button to add record of myTable
I need this $header off when an userID don't have privilege to add record into myTable. Something like this,
Page_DataRendering()
if (userID has privilege to add record into myTable)
$header = '<a href="(myTable)add.php">';
else
$header = '';
Is there built in function I can use to check this condition?
Thanks.