Hi, my code is: <br><br>( ... )<br><br>LAYER<br> NAME Depois_de_1995<br> <br> STATUS DEFAULT<br> DATA "the_geom from constructmapasconselho using unique id_municipio"<br> TYPE POLYGON<br> CONNECTIONTYPE POSTGIS
<br> CONNECTION "user=consulta password=consulta<br> dbname=sipeas host=<a href="http://127.0.0.1">127.0.0.1</a>"<br> UNITS METERS<br> SIZEUNITS METERS<br> <br> CLASSITEM "data_cr"<br> LABELITEM "data_cr"
<br><br> <span style="background-color: rgb(153, 153, 153); color: rgb(255, 255, 255);">CLASS</span><br> NAME "Depois de 1995"<br> EXPRESSION '1.00000'<br> OUTLINECOLOR 0 0 0<br> <span style="background-color: rgb(153, 153, 153); color: rgb(255, 255, 255);">
COLOR 204 7 62</span><br> TEMPLATE "data_cr.html"<br> END<br>END # Layer<br><br>( ... )<br><br><br>I would like to know how to get the <span style="background-color: rgb(153, 153, 153); color: rgb(255, 255, 255);">
COLOR</span> ( R G B ) content from a class, using phpmapscript. Does anyone knows any function?<br><br>tks,<br>bruno<br>