Jump to content

[SOLVED] Using plural for >1 error


MrXander

Recommended Posts

Hi Guys,

 

I used to use a single line of code, where if more than one error occured, it would show for example:

 

"2 errors found"

 

Whereas if only one was found, would echo:

 

"1 error found"

 

I can't remember how on earth I did this so any assistance would be appreciated.

Link to comment
https://forums.phpfreaks.com/topic/179848-solved-using-plural-for-1-error/
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.