<? php
    if(array_key_exists('s',$_POST))
{
   $abc=join(",",$_POST['sa']);
echo" $abc ";
   }
  ?>
楼主可以不这样判断用户有否提交啊,只要:
if($_POST['s'] == '提交'){
//code here
}
就可以了