I own an image hosting website and would like to know how I could get the amount of pictures uploaded on the frontpage of the site. Anyone know how I could do this?
Ok do this , make a mysql connection to the database then run this. Edit it according $query = mysql_query("SELECT * FROM Images"); $number=mysql_num_rows($query); echo "Total Images Hosted= ". $number;
can't get much more step-by-step than that. replace Images with your tables name and your set. Paste the code into your frontpage.