Jump to content

Archived

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

sahel

Can anyone tell me the meaning of this code

Recommended Posts

Hi,

Im very very new to php, im not sure if this is the right forum to post a question like this.

can someone tell me what this line of code says?


if((isset($_POST['action']) && $_POST['action']=='edit') || ($updateloc == true && $_POST['action']=='update'))


Thanks
Sahel

Share this post


Link to post
Share on other sites
if((isset($_POST['action']) && $_POST['action']=='edit') || ($updateloc == true && $_POST['action']=='update'))

If the VARIABLE `$_POST['action']` has been set and `$_POST['action']` is EQUAL to `edit` OR the VARIABLE `$updateloc` is EQUAL to `true` AND $_POST['action'] is EQUAL to `update`

Share this post


Link to post
Share on other sites

×

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.