wget returns different data from web browsers

I am facing a strange issue with wget.
I am not able to get the same data that I can get from my firefox web browser. I tried setting the user agent to firefox but i am still not able to get the same data.. Hope anyone can help point me to the correct direction.

This is the command i used :

wget -O 2387 -U 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3'  http://www.singaporepools.com.sg/Lottery?page=toto_past&drawNo=2387

PS: I am trying to make a program to automatically get the lottery data....

---------- Post updated 05-13-10 at 12:19 AM ---------- Previous update was 05-12-10 at 11:49 PM ----------

I managed to find the answer. I should have used the post data option....
This is the working version...

wget -O 2387 --post-data="page=toto_past&drawNo=2387"  http://www.singaporepools.com.sg/Lottery