Cita:
Iniciado por polo3
if ($this->empresa=="" and $this->contacto=="" and $this->tlf=="" and $this->fax=="" and $this->fecha=="" )
{
echo "<center><b>Debes llenar los campo</center></b>";
}
No serian OR en lugar de AND???
Cita: else
{
#if($this->registrar==true)
que signigica esa almoadilla?
Un saludo