Posted By

manec on 01/11/09


mysql select count

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


select count

 / Published in: SQL

  1. mysql_select_db($database_connection, $connection);
  2. $query_anuncios = "SELECT COUNT(id_anuncio) FROM db_anuncios";
  3. $result = mysql_query($query_anuncios);
  4. $count = mysql_fetch_array($result);
  5. <?php echo "$count[0]"; ?>

Report this snippet  


RSS Icon Subscribe to comments
Posted By: Jacky888 on July 16, 2018

Download firmware for printer

You need to login to post a comment.