Avatar of vrmetro
vrmetro
Flag for United States of America asked on

In this code what does the "?" and ":" mean / called?

Hello,

Trying to figure out what the "?" and ":" mean in the code below.  I know what they do or what this string below does, but not those specific symbols; and are there other variations of these short cuts available?

Thank you
isset($_SESSION[$flds]) ? $_SESSION[$flds] : '' ;

Open in new window

PHP

Avatar of undefined
Last Comment
vrmetro

8/22/2022 - Mon
SOLUTION
Michael701

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Roger Baklund

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
vrmetro

ASKER
Great thanks!
Your help has saved me hundreds of hours of internet surfing.
fblack61