Hi,
I am new to php.
I want to get the username and password using
headers and get connected to mysql database using
mysql_connect function. If the connection fails, once again the header has to get the username and password. But I get the following error , when I tried to call the user defined function which has header function
Warning: Cannot add header information - headers already sent by (output started at
header.inc.php:217) in header.inc.php on line 201
Please help me to resolve this problem or point where I can get more info about this.
Thanks in advance.
--Yoga.