mix Posted January 12, 2011 Report Share Posted January 12, 2011 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: What changes should I do to remove the four zeros ? Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted January 12, 2011 Report Share Posted January 12, 2011 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; } ?> Quote Link to comment Share on other sites More sharing options...
mix Posted January 12, 2011 Author Report Share Posted January 12, 2011 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; } ?> Perfect! Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.