$say1 =$say1+1; if ($say1=="1"): $a="active_ticker"; else: $a= "normal"; endif; <span class="$a"> Duyuru 1 buraya ekleniyor..</span>