Can someone please tell/teach/show me how and when to use the "?" symbol, by posting a couple/few commonly used code examples.
By any chance, is the ? symbol an elegant way of the longer "if/then" statements, something along the lines of instead of writing:
if(isset($submit)) { echo "hello"; }
you'd write something like:
$submit ? echo "hello";
The reason I ask such a super-basic question here is that it is nearly impossible to search for my answer in forums and/or search engines (ha ha -- you try typing "?" into a search and see where it gets ya :-)
Thank you!!