Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009
    Posts
    11

    Unanswered: can't make count(*) work :(

    PHP Code:
    $resultfiles mysql_query("SELECT count(*) FROM file");

    echo 
    "$resultfiles Files"
    but it shows Resource id #13 Files

    anyhelp

  2. #2
    Join Date
    Mar 2004
    Posts
    480
    Your problem is PHP code related. Look in the php manual on how to use mysql_fetch_row

Posting Permissions

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