Link to home
Start Free TrialLog in
Avatar of Anwar Saiah
Anwar Saiah

asked on

What does this php code mean exactly?

$itemid = (isset($_GET['Itemid'])) ? $_GET['Itemid'] : null;

Open in new window


my guess is it checks if $_GET['Itemid']) is defined it gets it's value to $itemid ,otherwise $itemid = null.
Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Brian Tao
Brian Tao
Flag of Taiwan, Province of China image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Anwar Saiah
Anwar Saiah

ASKER

Thank you all.