How to write if else condition in php

How to write programs for palm os