Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/06/2008, 11:44
Avatar de gepd
gepd
 
Fecha de Ingreso: diciembre-2007
Mensajes: 142
Antigüedad: 16 años, 5 meses
Puntos: 6
Respuesta: Ayuda urgente con javascript

Prueba con ésto a ver si te sirve...
Código PHP:
<?php
        $sql
="SELECT nume_serv,nume_equipo,marc_equipo FROM clientes WHERE nume_serv='$numero' ";
        
$info=mysql_query($sql$link);
        
$raw mysql_num_rows($info);
        
        if(
$raw != 0){
            while (
$row=mysql_fetch_array($info)) {
                
$nume_equipo=$row["nume_equipo"];
                
$marc_equipo=$row["marc_equipo"];
                echo
"<table width='781' align='center'>
                        <tr>
                            <td width='68' span class='Estilo10'>Nºequipo</span></td>
                            <td width='67' $nume_equipo</td>
                            <td width='68'>Marca</span></td>
                            <td width='67'>$marc_equipo</td>
                        </tr>
                    </table>"
;
            }
        }else{
            echo
"<script>alert('el numero ingresado no es válido!');</script>";        
        }
?>