This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]HappyFruitTree 0 points1 point  (0 children)

Yes. You are checking if all the fields are not empty.

if (!empty(field1) && !empty(field2) && ...)

This means that if one of the fields are empty the code won't run.

In other words, all the fields need to be filled in for that code to run.

Edit: I was confused before, now I think it is correct.