Results 1 to 2 of 2

Thread: ปัญหา Warning: mysql_num_rows(): supplied argument is not a

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Posts
    17


    มันขึ้นข้อความแบบนี้อ่ะครับ
    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

    คือผมจะเขียนหน้า search ข้อมูลจาก MySQL มาแสดงบนเวปอ่ะคับ
    แล้วมันขึ้น Warning เลยไม่รู้จะทำยังไง

    วานผู้รู้ช่วยตอบคำถามทีครับ...ว่ามันเป็นอะไร
    เห็นมีคนบอกว่าเป็นเพราะ MySQL ไม่รู้จักฟังก์ชั่นนี้

    ผมอยากรู้ว่าต้องทำยังไงถึงจะแก้ปัญหาได้อ่ะคับ

  2. #2
    Administrator asylu3's Avatar
    Join Date
    Jun 2000
    Location
    Thailand
    Posts
    3,557


    Argument ที่ใส่ลงใน Function นี้มีหน้าตายังไงครับขอดู Code หน่อย
    แล้วยังไงก็ตามให้แน่ใจว่า ค่า Argument ที่ใส่ไปตรงตามเงื่อนไขต่อไปนี้ด้วย
    http://th.php.net/mysql_num_rows

Similar Threads

  1. Flash : flartoolkit (Argument Reality with AS 3.0)
    By netzerodash in forum Flash & Multimedia
    Replies: 1
    Last Post: 14-05-2010, 11:09 AM
  2. Replies: 0
    Last Post: 17-03-2010, 10:22 AM
  3. Replies: 0
    Last Post: 14-12-2008, 03:19 PM
  4. Blogstheme.com Warning
    By newsbot in forum World Hacking/Security News
    Replies: 0
    Last Post: 10-11-2007, 03:08 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •