Welcome Guest, Not a member yet? Register   Sign In
Syntax advice..
#5

[eluser]jalalski[/eluser]
$this->input->post('id') will return false if the POST variable doesn't exist or isn't set, so there is no need to use isset (which anyway doesn't make much sense on the return value of a function as it will always be true).


Messages In This Thread
Syntax advice.. - by El Forum - 11-08-2010, 12:24 AM
Syntax advice.. - by El Forum - 11-08-2010, 12:40 AM
Syntax advice.. - by El Forum - 11-08-2010, 12:43 AM
Syntax advice.. - by El Forum - 11-08-2010, 03:20 AM
Syntax advice.. - by El Forum - 11-08-2010, 04:20 AM
Syntax advice.. - by El Forum - 11-08-2010, 04:59 AM
Syntax advice.. - by El Forum - 11-08-2010, 11:22 AM
Syntax advice.. - by El Forum - 11-08-2010, 03:39 PM
Syntax advice.. - by El Forum - 11-08-2010, 03:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB