Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 06:45 pm 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 06:45 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