Miscellany
public php v1 · immutablefunction hasRow($strict = false){ return ($strict) ? (bool)count($results) == 1 : (bool)count($results);}// aantal rijen - resultaat// normaal 0 false 1 true 2 true// strict 0 false 1 true 2 falsefunction hasRows(){ return (bool)count($results) > 1;}