Q. How do you check if an input field is empty in PHP?

आप कैसे जांचेंगे कि PHP में कोई इनपुट फ़ील्ड खाली है या नहीं?

A
if (empty($_POST['name']))
B
if (is_null($_POST['name']))
C
if ($_POST['name'] == " ")
D
if (isset($_POST['name']))

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment