Easy query question

Discussion in 'Databases' started by Jakobi, May 3, 2007.

  1. #1
    Hello,

    I am new to this but here is the question.

    I have this query that counts rows in my database.

    SELECT Count() FROM `files` WHERE `added`=current_date

    Which works.

    Now what is the standard php code that would display that?

    Thanks.
     
    Jakobi, May 3, 2007 IP
  2. Kalyse

    Kalyse Peon

    Messages:
    1,221
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is possibly the longest way of doing it, but its the simplest way to follow

     
    Kalyse, May 4, 2007 IP