Thanks for the link ,I added the ob_start() and ob_end_flush() in my script .It fixed the problem ,however when I click log in ,the page sort of refreshes itself and what I keyed in is gone ?
By the way ,what is echo ?I am so sorry I am still quite new to this ...