Help with Conditional function
-
Hello,
I want to write a little php if else statement that shows a dynamic line of text above the comment form that shows whether the user is logged in or not(users are required to register and login to comment).
if
the visitor is logged in
display: you are logged in as whoever
else
You must login or register to leave a comment.
Someone please help me with this. I’m a heck of a lot better with xhtml and css than I am with php.
Thanks in advance,
Will
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Help with Conditional function’ is closed to new replies.