Tema: if else
Ver Mensaje Individual
  #8 (permalink)  
Antiguo 19/11/2010, 12:32
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: if else

esa condicion esta negando los empty...

<?php
if (!empty($_POST['usuario'])||!empty($_POST['nombre'])||!empty($_POST['dni'])){
$host="localhost";
$user="root";
$password="";
$db="registro";
$usuario=$_POST["usuario"];
$nombre=$_POST["nombre"];
$dni=$_POST["dni"];
$email=$_POST["email"];
$cont=$_POST["cont"];
$cont2=$_POST["cont2"];
__________________
More about me...
~ @rhyudek1
~ Github