big thanks rangana, so everything is working now. and creating by DOM the table would be a little bit hard for me since i'm quite new to ajax

again thanks and i'll look it up on creating table using DOM as suggested by you.