Hi, I was just looking at someone elses code and came across this: $request_uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : ""; Code (markup): What do the bit after the '?' and ':' mean? Thanks, Hodge
Its a ternary operator. The example above will set $request_uri to the value of $_SERVER['REQUEST_URI'] if $_SERVER['REQUEST_URI'] was set, if it wasn't $request_uri will be set to an empty string. condition ? true-value : false-value;