- चर के बाद
$sql, कहां है$result? $result = mysql_query($sql) **or die(mysql_error)** // to give the output error from MySQL if there is anywhile, या तोvar_dump($row). का उपयोग करें , याprint_r($row)।- यदि आपको खाली पृष्ठ मिलते हैं या कोई त्रुटि रिपोर्टिंग नहीं होती है, तो
error_reporting(E_ALL);का उपयोग करें आपकी स्क्रिप्ट की शुरुआत में।
संपादित करें:क्षमा करें, आप MySQLi का उपयोग कर रहे हैं। $mysqli->error का उपयोग करें ।