Hi

I'm fairly new to PHP and trying to understand what a script is doing.

This line has me puzzled:

Code:
$img=preg_match('/\d/',$selectedImage)?$selectedImage:'none';
I understand that the first part is looking for numeric characters in the variable, but what does the ? signify.

Thanks,

Mike