$counter = "";
if($sWall>1){
$counter = $counter + $sWall;
}
if($sWC>1){
$counter = $counter + $sWC;
}
if($sOther>1){
$counter = $counter + $sOther;
}
if(!(empty($counter))){
echo "(".$counter.") ";
}
This is what I have that does not work.
$sOther
, $sWC
, $sWall
is mysql_num_rows
. I wish to echo out e.g (3) if you have 1 in $sOther
, 1 in $sWC
and 1 in $sWall
.
Ben ne yaptım ben denedim sadece bir şeydir, nasıl yapabilirim.