Isset function

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

Isset function

Postby Sunny » 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

Re: Isset function

Postby MarioParty » 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.

Return to “PHP coding => General”

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests