Q. How do you check if a connection to MySQL was successful in PHP?

आप कैसे जांचेंगे कि PHP में MySQL से कनेक्शन सफल रहा या नहीं?

A
if ($conn)
B
if ($conn->connect_error)
C
if ($conn == true)
D
if (mysqli_connect_status())

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