Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/10/2008, 06:31
Avatar de jaronu
jaronu
 
Fecha de Ingreso: febrero-2008
Mensajes: 2.183
Antigüedad: 16 años, 2 meses
Puntos: 52
Respuesta: tipo de caracteres por get ¿que es?

a mi me hace la sustitucion perfectamente
haz un echo de $query antes de aplicar la funcion




Cita:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>pruebas</title>
</head>

<?php

$query = "camión";
echo $query;
echo"<br>";

$cambiar = array("ó");
$por = array("o");
$query = str_replace($cambiar, $por, $query);

echo $query;?>
?>