mysql_connect($server,$username,$password) or die(mysql_error());
mysql_select_db($database) or die(mysql_error());
but when i include header portion, the body of the page accessing from the second database is not getting…
where as without header( removing header part code), it is working…
why?
I can’t tell if you mean <head>, <header>, header(), navigational header or some sort of include. Could you paste in all of the code (removing the database details)?