freshJet Posted May 14, 2011 Report Share Posted May 14, 2011 I am trying to make my Schedule Details page look more realistic, as if it was a real airline website. For example, if you were to view flight details, you wouldn't be provided with a METAR, so I was thinking of changing this to a general weather thing. So, maybe have a picture of the sun and temperature if that's what the weather was at the destination. Another thing is to add the aircraft type to the details at the top, what would be the code for this? Quote Link to comment Share on other sites More sharing options...
Jeff Posted May 15, 2011 Report Share Posted May 15, 2011 <strong>Equipment: </strong><?php echo $route->aircraft; ?> I believe this might be what you are looking for. Quote Link to comment Share on other sites More sharing options...
freshJet Posted May 15, 2011 Author Report Share Posted May 15, 2011 <strong>Equipment: </strong><?php echo $route->aircraft; ?> I believe this might be what you are looking for. Oh thanks Jeff, I worked that one out eventually, but I used <?php echo $schedule->aircraft ?> and it worked. Any idea about the weather? Quote Link to comment Share on other sites More sharing options...
Jeff Posted May 15, 2011 Report Share Posted May 15, 2011 I believe that you won't find too much for what you are wanting. The only thing I could think of is going to www.weather.com and see if there is a code that you can use from their site and tweak it for what you want. 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.