$sql_le = "SELECT * FROM layer_epsg WHERE fkey_layer_id = \$1"; $v = array($layer_id[0]); $t = array('i'); $res_le = db_prep_query($sql_le, $v, $t); $cnt_le = 0; while ($row = db_fetch_array($res_le)) { $epsg[$cnt_le] = $row["epsg"]; $cnt_le++; } # Save button echo "<div style='position:absolute;left:500px; top:225px;' ><input type='button' style='width:130px;height:80px;background-color:#ffeded' value='Save Settings' onclick='checkBoxValue()'></div>"; echo "<table class='table_top'>"; echo "<tr>"; echo "<td colspan='2'>"; echo "<a href='" . $wms_getcapabilities[0]; echo wms::getConjunctionCharacter($wms_getcapabilities[0]); if ($wms_version[0] == "1.0.0") { echo "WMTVER=" . $wms_version[0] . "&REQUEST=capabilities"; } else { echo "VERSION=" . $wms_version[0] . "&REQUEST=GetCapabilities&SERVICE=WMS"; } echo "' style='font-size:14px' target='_blank'>LINK: Capabilities</a>"; echo "</td>"; echo "<td align = right>WMS ID: " . $wms_id[0] . "</td>"; echo "<tr>"; #epsg if ($gui_wms_position[0] == 0) { echo "<tr>"; echo "<td>EPSG: </td><td>"; echo "<select class='mySelect' name='this_gui_wms_epsg'>"; for ($i = 0; $i < count($epsg); $i++) {