note 14315 rejected and deleted from function.header.php by philip

From: Date: Thu, 26 Jul 2001 23:35:43 +0000
Subject: note 14315 rejected and deleted from function.header.php by philip
Groups: php.notes 
Request: Send a blank email to php-notes+get-15885@lists.php.net to get a copy of this message
i write this code, but returns error for me.... please help-me... i don´t now why i solve this... the code: <? include("conexao.inc"); $Select = "select login,senha from funcionarios where login='$txtLogin' and senha='$txtSenha' and status='ativo'"; $Query = mysql_query($Select); if (mysql_num_rows($Query)>0) header("location: menu.htm"); else print "senha Invalida"; ?> the error: Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in /home/httpd/virt/paginet.com.br/gerenciamento/ver_login.php3 on line 5 thanks...

« previous php.notes (#15885) next »