Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/02/2013, 13:30
arcangel13_513
 
Fecha de Ingreso: enero-2013
Mensajes: 27
Antigüedad: 12 años
Puntos: 1
Pasar valor de una campo a una variable

Quiero pasar el valor del campo ced a un variable algo asi:
Código PHP:
$nuevo_usuario=mysql_query("select * from exp where asd like '%jose%'");
while (
$row=mysql_fetch_array($nuevo_usuario))
 {echo 
'<tr>';
    echo 
'<td height="30">'.$row["num"].'</td>';
    echo 
'<td >'.$row["ced"].'</td>';
    echo 
'<tr>';
     }
$cedmax=$row["ced"]; 
Para despues utilizarla en consultas
Alguna idea