Jump to content

Code Help


mix

Recommended Posts

In my site I have this code:

<ul class="login">
<li class="left"> </li>
<li><?php if(Auth::LoggedIn() == false){ echo 'Olá Visitante!'; }else{ echo 'Olá '
                   .PilotData::GetPilotCode(Auth::$userinfo->firstname, Auth::$userinfo->firstname); } ?>

But they show:

loginc.png

What changes should I do to remove the four zeros ?

Link to comment
Share on other sites

Guest lorathon

try this

<ul class="login">
<li class="left"> </li>
<li><?php if(Auth::LoggedIn() == false){ echo 'Olá Visitante!'; }else{ echo 'Olá '.Auth::$userinfo->firstname.' '.Auth::$userinfo->lastname; } ?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...