Jarod Posted November 10, 2009 Share Posted November 10, 2009 I forgot what it is, but it goes something like this: (condition) code : thisThen; am I right and/or what is the name of this? Quote Link to comment https://forums.phpfreaks.com/topic/180940-whats-the-ifelse-thing-for-variable-usage/ Share on other sites More sharing options...
mikesta707 Posted November 10, 2009 Share Posted November 10, 2009 ternary operator $var = (boolean expression) ? value if true : value if false; Quote Link to comment https://forums.phpfreaks.com/topic/180940-whats-the-ifelse-thing-for-variable-usage/#findComment-954572 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.