crazypilot Posted March 5, 2012 Report Share Posted March 5, 2012 Hi, I´m trying hide the RealScheduleLite if the pilot have one or more booked flights, here de code line 73: if(SchedulesData::GetBids($pilotid)) => '1') { echo '<p>You have booked flights.</p>'; } else { but thats the error: Parse error: syntax error, unexpected T_DOUBLE_ARROW in xxxxxx/realschedulelite_index.tpl on line 73 sorry about the bad english thanks Quote Link to comment Share on other sites More sharing options...
crazypilot Posted March 5, 2012 Author Report Share Posted March 5, 2012 i have solved the problem, sorry. Quote Link to comment Share on other sites More sharing options...
Jeff Posted March 6, 2012 Report Share Posted March 6, 2012 Mark this thread as SOLVED Quote Link to comment Share on other sites More sharing options...
eliezerazevedo Posted August 27, 2016 Report Share Posted August 27, 2016 (edited) How you solved the problem ? Edited August 27, 2016 by eliezerazevedo Quote Link to comment Share on other sites More sharing options...
eliezerazevedo Posted August 29, 2016 Report Share Posted August 29, 2016 (edited) I managed to solve the problem Code used: <?php if(count(SchedulesData::GetBids(Auth::PilotID())) > 0) { echo '<div id="error">Você tem voos para serem realizados!</div>'; return; } ?> Edited August 29, 2016 by eliezerazevedo 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.