Cita:
Iniciado por Potro Yo haria algo asi mejor...
Código PHP:
Ver original$consulta=mysql_query("select COUNT(*) AS TOTAL from anuarios where ID_ANUARIOS='".$campo."'"); $acumulador=$resultado[0];
If($acumulador == 1){
echo "Si existe";
}else{
echo "No existe";
}
Saludos...
.
Ok man...hare la sugerencia... pero dime una cosa la ubicacion del codigo php esta bien debe ir dentro del input o fuera......gracias