mysql_insert_id şey geri gelmez

0 Cevap
$sql="INSERT INTO wp_comments (comment_post_ID, comment_author, comment_date, comment_content, user_id) 
                VALUES
              ('$qID', '$author', '$dro', '$content', '$_SESSION[user_id]')";

            $result = mysql_query($sql);
            die(last_insert_id());

Bu kodu çalıştırdığınızda ben beyaz ekran görmek için, (yani last_insert_id) Neyi yanlış yapıyorum ... herhangi bir değer döndürmek için görünmüyor?

0 Cevap