{php} $rand = rand(1,2); if($rand == 1){ {/php} {php} }elseif($rand == 2){ {/php} {php} } {/php}