Jump to content

Need help understanding symbols ..


zoobzen

Recommended Posts

it's ternary operator which take place of if else statement.

 

 

// in ternary operatorisset($_POST['cardType']) ? $_POST['cardType'] : '';// in if..elseif(isset($_POST['cardType'])){$cardType = $_POST['cardType'];}else{$cardType = '';}

 

I hope you cleared.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.