hi can someone tell me what does this mean?

if(isset($_POST["userid"])){

Recommended Answers

All 3 Replies

It's right as said by davy_yg,

    if(isset($_POST["userid"])){

The above code is used to determine if a variable is set and is not NULL.

if(isset($_POST["userid"])){

this is used to check whether userid variable is used or not, and whether it has some value or not.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.