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 Quote Link to comment 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` Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.