Jump to content

[SOLVED] how do you count the number of rows with id=1 ?


Sincere

Recommended Posts

This will return number of rows from a table against a specific category.

SELECT COUNT(*) FROM table_name WHERE cat_id=n

Replace table_name with your actual table name and n with category id.

 

 

shukraaaaaaaaaaaaaaan

 

thank you thank you thank you

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.