/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php
global $user;
// Check to see if $user has the administrator role.
// Do something.
}
?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                