Isset function

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 23
Joined: Wed Nov 30, 2011 6:51 am

Mon Oct 28, 2013 3:15 am


Kindly help me what does this statement actually checks


I have Input field with Type = "Submit" & ID = "add"


New php-forum User
New php-forum User
Posts: 42
Joined: Tue Aug 02, 2011 2:52 am

Sat Dec 28, 2013 3:31 pm ... z2oobovYAy

This will do exactly as it says. If the variable $_POST['add'] is set then TRUE will be returned (unless the value is NULL).

$_POST['add'] will only be set if you have posted a form containing an input with the name "add" or if you have set a value for it yourself in the code.

Post Reply