Guest User

Untitled

a guest
May 20th, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. <?php
  2.  
  3. If(Auth::$userinfo->rank == "rank code" )
  4. {
  5. Echo the name ;
  6. }
  7. ElseIf(Auth::$userinfo->rank == "rank code2" )
  8. {
  9. Echo second name ;
  10. }
  11. And etc do not forget in order to avoid any errors
  12. Else
  13. {
  14. Echo "no trainer found" ;
  15. }
  16.  
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment