Cloudva Posted December 10, 2011 Report Share Posted December 10, 2011 Hi guys, I'm VP & Website Manager of Emirates VA. We currently use the booking system from"http://forum.phpvms.net/topic/1966-phpvmsbooking-release/". What I want to do is.... When someone selects any airport in the departure list that's not OMDB the arrival only shows OMDB as option. And of course also the another way around. I know basic php and it's probably got something to do with the if else statement but please help me! Vincent Peters, www.emiratesva.com vpeters@emiratesva.com Quote Link to comment Share on other sites More sharing options...
bobsta63 Posted December 14, 2011 Report Share Posted December 14, 2011 Hi Vincent, What do you mean by 'OMDB'? - I'll happily look into this for you as I am thinking of using the same module on my new site too. Have you made any other changes to the code or should I just download the link above and then send you the amended code? - If you've made other alterations to the module code maybe you could zip up the files and attach them to the thread so I can ensure that what I send you back will work with your setup. I'll wait to hear back with regards to what you mean by 'OMDB' Cheers, Bobby Quote Link to comment Share on other sites More sharing options...
mseiwald Posted December 14, 2011 Report Share Posted December 14, 2011 OMDB is the ICAO code for Dubai airport. Quote Link to comment Share on other sites More sharing options...
bobsta63 Posted December 14, 2011 Report Share Posted December 14, 2011 Ah ok cheers mseiwald - I only fly in Europe so I didn't even twig it was an ICAO code... I'm used to LEXX, LIXX, EGXX, EHXX etc. etc lol Ok so basically then Cloudva... You only have a single hub yes and that being Dubai? - My programming experience is really with PHP and C... I would actually recommend that what you want to do her is create a small JavaScript snippet using the 'onSelect' action to trigger an update on the 'Arrival' (to hide the other airports and only display dubai) drop-down menu and vice-versa... I will see what I can do for you but JavaScript isn't really my thing, using something like jQuery may be better but again, this is something that I have little experience with. Quote Link to comment Share on other sites More sharing options...
Cloudva Posted December 15, 2011 Author Report Share Posted December 15, 2011 Hi bobsta63, sorry for my late response! But thanks for the advice, I have really basic skills in PHP, HTML, CSS etc. So I wouldn't even know where to start but... I haven't modified the module, so you can modify the original. Thanks for the help! And yes we have one hub, Dubai! Vincent, Quote Link to comment Share on other sites More sharing options...
bobsta63 Posted December 16, 2011 Report Share Posted December 16, 2011 Ok Vincent - I'm at work at the moment but I'll try and take a look over the weekend! Quote Link to comment Share on other sites More sharing options...
Cloudva Posted December 20, 2011 Author Report Share Posted December 20, 2011 Thank you in advance! 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.