結果 : call javascript function in php if statement