if ($_REQUEST["letra"]) {header("Content-type: text/html; charset=iso-8859-1");require_once("config.php");} ?>
if (!$_REQUEST["letra"]) { header("Content-type: text/html; charset=iso-8859-1");require_once("config.php");?>
$query = "SELECT * FROM area WHERE descripcion LIKE 'a%' AND area_id > 0";
$rs = mysql_query($query) or die(mysql_error());
$arrTemas = array();
while($row = mysql_fetch_array($rs)) {
array_push($arrTemas,$row);
}
$varColumnas = 3;
$varCantPorCol = ceil(count($arrTemas)/$varColumnas);
?>
$i = 0; $j = 0; ?>
for ($c = 0;$c<$varColumnas;$c++) { ?>
$aux = $j*$varCantPorCol ?>
$aux2 = $i+$varCantPorCol ?>
for ($i = $aux; $i<$aux2;$i++) { ?>
| |