Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End SQL select parent if it has 10+ children Reply To: SQL select parent if it has 10+ children

#166392
BionicClick
Participant

$myCount = ‘CODE TO DO COUNT AND GET # INTO $myCount variable’;

then… use your count to determine what to do later…

if($myCount >= 10) {
//do work here
}