Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 02:56 pm EST

Geeklog Forums

Need a simple code


Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
I need a simple php code for the header to show the logged in username without the welcome tag.

Text Formatted Code

<?php  if ($_USER['uid'] > 1) {print '$A['username']';}?>

 


Could anyone help me with what I should put in { }?

Sam

 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
Never mind, figured out.

Merry Christmas!
 Quote

All times are EST. The time is now 02:56 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content