Tema: str_replace
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 09/10/2009, 08:09
KrowMx
 
Fecha de Ingreso: junio-2009
Mensajes: 128
Antigüedad: 14 años, 10 meses
Puntos: 5
Respuesta: str_replace

Código PHP:
<?php
function numero($stats){
$i=1//inicio
$max=11//maximo
do{
$stats str_replace($i,"Visita",$stats);
$i=$i+1;
}while(
$i<$max);

return 
$stats;
}
?>
__________________
krowmx
Hostings y Dominios
Tú defines la idea, nosotros la desarrollamos