<div>It looks that your map file has too many "END" for each layer.</div>
<div>Should be something like this:</div>
<div> </div>
<div>
<div>LAYER</div>
<div>NAME "Build" </div>
<div>STATUS default</div>
<div>TYPE line</div>
<div>DATA "build"</div>
<div>CLASS</div>
<div>STYLE</div>
<div>COLOR 0 0 0</div>
<div>END # ends style</div>
<div>END # ends class</div>
<div>END # ends layer</div>
<div> </div>
<div> </div>
<div>I think the fourth END for the first LAYER ends the whole map file.</div>
<div> </div>
<div>M</div>
<div><br> </div></div>
<div><span class="gmail_quote">2007/5/8, AMAL OMAR <<a href="mailto:amal_osaad2003@yahoo.com">amal_osaad2003@yahoo.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi all,</div>
<div> </div>
<div>can any one tell me why some times cant display two layers at same time, I have done some example with no problem but when I tried display my vectors layers I couldn't <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/06.gif">
</div>
<div> </div>
<div><strong><em> thank you Advice</em></strong></div>
<div> </div>
<div>this my map file:</div>
<div> </div><font size="2">
<div># This is our first map file</div>
<div>NAME "cis1"</div>
<div>SIZE 400 300</div>
<div>EXTENT 217500.00 3639400.03 217800.00 3639700.75</div>
<div>UNITS METERS</div>
<div> </div>
<div>####################################################</div>
<div>PROJECTION </div>
<div>proj=longlat </div>
<div>ellps=WGS84 </div>
<div>datum=WGS84 </div>
<div>no_defs </div>
<div>END </div>
<div> </div>
<div>######################################################</div>
<div>IMAGECOLOR 255 255 255</div>
<div>IMAGETYPE JPEG</div>
<div>SHAPEPATH "/ms4w/home/mapdata/cis/"</div>
<div> </div>
<div>#####################################################</div>
<div>WEB</div>
<div>TEMPLATE '/ms4w/var/www/htdocs/cis1.html'</div>
<div>IMAGEPATH '/ms4w/var/www/htdocs/tmp/'</div>
<div>IMAGEURL '/tmp/'</div>
<div>END</div>
<div>######################################################</div>
<div> </div>
<div>LAYER</div>
<div>NAME "Build" </div>
<div>STATUS default</div>
<div>TYPE line</div>
<div>DATA "build"</div>
<div>CLASS</div>
<div>STYLE</div>
<div>COLOR 0 0 0</div>
<div>END</div>
<div>END</div>
<div>END</div>
<div>END</div>
<div>######################################################</div>
<div> </div>
<div>LAYER</div>
<div>NAME "PBuild" </div>
<div>STATUS default</div>
<div>TYPE line</div>
<div>DATA "build1"</div>
<div>CLASS</div>
<div>STYLE</div>
<div>COLOR 0 255 0</div>
<div>END</div>
<div>END</div>
<div>END</div>
<div>END</div>
<div>######################################################</div>
<div> </div>
<div>LAYER</div>
<div>NAME "public pbuilding" </div>
<div>STATUS default</div>
<div>TYPE line</div>
<div>DATA "pbuilding"</div>
<div>CLASS</div>
<div>STYLE</div>
<div>COLOR 255 0 0</div>
<div>END</div>
<div>END</div>
<div>END</div>
<div>END</div>
<div>END</div></font><span class="ad">
<p>
<hr size="1">
<a>Sucker-punch spam</a> with award-winning protection.<br>Try the <a>free Yahoo! Mail Beta.</a>
<p></p></p></span></blockquote></div><br>