This code is working fine for me. But i could not understand of using three if loops in start. Can i use only one if loop instead of three?


if($_POST)
{...