Hi guys,
Hope everyone is well!
I'm currently using Facebook Connect for a feature on our site. I am trying to show the text 'You are not logged in' if you are not logged in when you click on 'Attend this event' button.
I have figured out how to show that i you are logged in and you click on the button it shows "You are now attending this event".
The code for this is:
<?php if (isset($attendEvent)) { ?>
<br />
<b style="color: red">Your now attending the event! <?=$attendEvent['/127573637277755/attending']?></b>
<?php } ?>I am trying to add code so that when you click the button and you are not logged in it it says 'You are not logged in' instead of 'Your now attending this event!'
Can anyone help with this? I tried else function but it showed up as soon as you landed on the page not after you clicked on the button.
Thanks
