SmitaBansal Posted August 4, 2016 Share Posted August 4, 2016 Can anyone explain to me what that question mark does in this line of code? Thanks a lot! $hideCode = $likesObj->isAlreadyLikedByUser(facebookUID()) ? 'style="display:none;"' : ''; I want to implement that in my site event management companies in delhi. Looking your assistance in best Online PHP tutorials. Thanks in Advance ...! Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted August 4, 2016 Share Posted August 4, 2016 Ternary operator https://en.wikipedia.org/wiki/%3F: 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.