Jump to content

If function problem


danny124

Recommended Posts

Sorry guys if this has been mentioned before. I need a little help if possible.

I have made a Hub stats page courtesy of Toms Hub stats module, but i wanted to integrate a list of schedules from each hub. I have managed to get it all to work after months of trial and error and my limited coding skills.

The problem i am having is this;

My hub stats are working fine and getting schedules from each hub is fine also. But when there is no pilots assigned to a certain hub, it will not list the destinations below.

I believe its the 'if function' to echo a message. i have tried different alternatives to no avail.

Could some please tell me the coding that when no pilot at hub, will echo my message and still list the available schedules below.

Thanks for your time guys

Kind regards

Danny

post-46826-0-72851200-1431862662_thumb.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...