mix Posted January 12, 2011 Report 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
Guest lorathon Posted January 12, 2011 Report 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
mix Posted January 12, 2011 Author Report 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
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.