Oh, Praise the Lord brother!! Thank you very much for your advice. I added the line, "<input type="hidden" name="mode" value="map">" in the html template file which is also my initialisation file and changed the status to DEFAULT and it worked!!!! Strangely it did not work when using STATUS = ON.. I think there have been some changes in mapserver. Or maybe its just that I've gone rusty. Anyways, thank you very much everybody for your help. :) Especially Steve. I owe you one. Thanks. :)<br>