M
|
mmponline 9/14/2007 |
This works great. How would one change the code to show the record dependant on the User's Group he/she belongs to in stead of the username. |
admin 11/5/2007 | |
Use $_SESSION["GroupID"] for this purpose. |
P
|
Phil_G 10/8/2009 |
Nice one... How about hiding the 'add' button if a record already exists? PHPRunner 4.2 This is a two step process
$smarty->assign("admin_user", $_SESSION["UserID"]=="admin");
|