This is probably a stupid question, but I'm looking through some phpBB code to figure out an answer to another problem: http://www.phpbuilder.com/board/showthread.php?s=&postid=10504940#post10504940
and I've come across some (I'm guessing shorthand) operators that I've not seen before - the question mark and colon. Anyone know what they mean in this context?
$user_avatar_upload = ( !empty($HTTP_POST_VARS['avatarurl']) ) ? trim($HTTP_POST_VARS['avatarurl']) : ( ( $HTTP_POST_FILES['avatar']['tmp_name'] != "none") ? $HTTP_POST_FILES['avatar']['tmp_name'] : '' );
Thanks,
- rob