Ver Mensaje Individual
  #6 (permalink)  
Antiguo 12/01/2012, 19:14
ihmps
 
Fecha de Ingreso: enero-2012
Mensajes: 88
Antigüedad: 13 años, 1 mes
Puntos: 11
Respuesta: Muy extraño problema con acentos

Aquí es donde incluyo el archivo por si con el me pueden ayudar mejor, gracias.

Código PHP:
Ver original
  1. <?php
  2. if(!isset($_GET['page'])) $title = "Fondos de pantalla";
  3. if($_GET['page'] == 1) $title = "Fondos de pantalla";
  4. if($_GET['page'] == 2) $title = "Fondos de escritorio";
  5. if($_GET['page'] == 3) $title = "Fondos gratis";
  6.  
  7. if(isset($_GET['id'])){
  8.  
  9. $query = "SELECT * FROM imagenes WHERE id = ".$_GET['id'];
  10. $mysqli_mandato = mysqli_query($mysqli, $query);
  11. $contenido = mysqli_fetch_array($mysqli_mandato);
  12.  
  13. $title = $contenido["nombre"];
  14.  
  15.  
  16. }
  17.  
  18. echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  19. <html xmlns="http://www.w3.org/1999/xhtml">
  20. <head>
  21. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  22. <link href="style.css" rel="stylesheet" type="text/css" />
  23. <title>'.$title.'</title>
  24. </head>
  25. <body>';
  26.  
  27. echo "<center><table border='0' id='web'>
  28. <tr><td id='logo'><img src='images/screen-128.png' /></td><td><h1>".$title."</h1></td></tr>
  29. <tr><td rowspan='2' id='layout'><br />";
  30. include("showcats.php");
  31. echo "Música";
  32. echo "</td></tr>
  33. <tr><td>";
  34.  
  35. ?>