sahel Posted September 14, 2006 Share Posted September 14, 2006 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'))ThanksSahel Link to comment https://forums.phpfreaks.com/topic/20777-can-anyone-tell-me-the-meaning-of-this-code/ Share on other sites More sharing options...
gijew Posted September 14, 2006 Share Posted September 14, 2006 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` Link to comment https://forums.phpfreaks.com/topic/20777-can-anyone-tell-me-the-meaning-of-this-code/#findComment-91974 Share on other sites More sharing options...
sahel Posted September 14, 2006 Author Share Posted September 14, 2006 Brilliant.. that makes sence now..Thanks gijewSahel Link to comment https://forums.phpfreaks.com/topic/20777-can-anyone-tell-me-the-meaning-of-this-code/#findComment-91982 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.