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? 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; 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
Archived
This topic is now archived and is closed to further replies.