Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/02/2010, 12:38
Avatar de jackson666
jackson666
 
Fecha de Ingreso: noviembre-2009
Ubicación: Buenos Aires, Argentina
Mensajes: 1.971
Antigüedad: 14 años, 5 meses
Puntos: 65
Respuesta: Pregunta sencilla de PHP

Código PHP:
function formatear($string){

    if(
is_string($string)){

    return 
str_replace(' ''+'$string);

    }else{ return 
false; }

}

$string 'algo para buscar en youtube';

$string formatear($string);

header('location:http://www.youtube.com/results?search_query='.$string); 
Las demas son identicas
__________________
HV Studio
Diseño y desarrollo web