Ver Mensaje Individual
  #4 (permalink)  
Antiguo 26/07/2006, 16:03
Avatar de .php
.php
 
Fecha de Ingreso: julio-2006
Mensajes: 481
Antigüedad: 17 años, 9 meses
Puntos: 5
algo asi se e ocurre
Código PHP:
$arregloA = array("hola","mi","nombre","es",".php");
$arregloB = array("saludos",".php","que","estes","bien");
$arregloC = array();

for(
$i=0;$<count($ArregloA);$i++){
    for(
$j=0;$j<count($ArregloA),$j++){
        if(
$arregloA[$i]==$arregloB[$j])
        
$arregloC[$i]=str_replace("$arregloA[$i]","<strong>$arregloB[$i]</strong>"); 
    }
}
for(
$i=0;$i<count($arregloC);$i++){
    echo 
$arregloC[$i]."<br>";