Jump to content

Count records similar to a given WORD?


RON_ron

Recommended Posts

How to COUNT  the number of records (pulled from a db)which  contains the word "APPROVED". This code doesn't work though.

 

$result1;

$result2;

$result3;

 

$approvedApplicants = COUNT($result1=='Approved', $result2=='Approved', $result3=='Approved')

echo ($approvedApplicants)

Link to comment
https://forums.phpfreaks.com/topic/219792-count-records-similar-to-a-given-word/
Share on other sites

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.