Welcome to Geeklog, Anonymous Tuesday, April 23 2024 @ 05:15 am EDT

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 EDT. The time is now 05:15 am.

  • 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