Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/05/2012, 07:33
Avatar de oscartt67
oscartt67
 
Fecha de Ingreso: abril-2012
Ubicación: fonollosa
Mensajes: 481
Antigüedad: 12 años
Puntos: 97
Respuesta: Problema con Insertar registro

$valor contiene un array. Por eso no te pirula.
Prueba lo siguiente:

Código PHP:
$valor mysql_query($query_valor$localhost) or die(mysql_error());         
if(
$valor["proyecto"] == 'Proyecto 1'){ 
//...o si no..(es que yo uso PDO y no estoy habituado a  mysql_query...
if($valor[0]["proyecto"] == 'Proyecto 1'){ 
saludos.