poe Posted March 17, 2007 Share Posted March 17, 2007 i see this: $page = ($page < 1 ? 1 : $page); what does it exactly mean ( '?' & ':' ) Link to comment https://forums.phpfreaks.com/topic/43150-syntax/ Share on other sites More sharing options...
kenrbnsn Posted March 17, 2007 Share Posted March 17, 2007 That is known as the Ternary Operator. See the page on comparison operators about 1/2 way down. Ken Link to comment https://forums.phpfreaks.com/topic/43150-syntax/#findComment-209547 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.