|
@@ -1,10 +1,7 @@
|
|
|
-<?php
|
|
|
|
|
-header('Content-Type: text/html; charset=UTF-8');
|
|
|
|
|
-?>
|
|
|
|
|
|
|
+<?php header('Content-Type: text/html; charset=UTF-8'); ?>
|
|
|
<!doctype html>
|
|
<!doctype html>
|
|
|
<head>
|
|
<head>
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
|
-
|
|
|
|
|
<script src="js/jquery-1.10.2.js">
|
|
<script src="js/jquery-1.10.2.js">
|
|
|
</script>
|
|
</script>
|
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
@@ -341,7 +338,7 @@ OBJETIVOS DEL CURSO: Obtener los conocimientos teóricos y prácticos en el áre
|
|
|
$contenido->bind_result($nombre, $telefono, $direccion, $localidad, $provincia, $pais );
|
|
$contenido->bind_result($nombre, $telefono, $direccion, $localidad, $provincia, $pais );
|
|
|
while ( $contenido->fetch() ) {
|
|
while ( $contenido->fetch() ) {
|
|
|
$internacional = ($zona=="Internacional" ? "<td>$pais</td>" : ""); //internacional
|
|
$internacional = ($zona=="Internacional" ? "<td>$pais</td>" : ""); //internacional
|
|
|
- echo "
|
|
|
|
|
|
|
+ echo utf8_encode("
|
|
|
<tr>
|
|
<tr>
|
|
|
$internacional
|
|
$internacional
|
|
|
<td>$provincia</td>
|
|
<td>$provincia</td>
|
|
@@ -349,7 +346,7 @@ OBJETIVOS DEL CURSO: Obtener los conocimientos teóricos y prácticos en el áre
|
|
|
<td>$nombre</td>
|
|
<td>$nombre</td>
|
|
|
<td>$direccion</td>
|
|
<td>$direccion</td>
|
|
|
<td>$telefono</td>
|
|
<td>$telefono</td>
|
|
|
- </tr>";
|
|
|
|
|
|
|
+ </tr>"); //TODO FIXME: Convertir lo de la tabla, o lo que se agregue en UTF8 va a tener doble encoding y no va a funcionar
|
|
|
}
|
|
}
|
|
|
echo "</tbody></table></div>";
|
|
echo "</tbody></table></div>";
|
|
|
}
|
|
}
|