i had a header and before the header i had the codes for connecting to mysql and i didnt have any problem with that.
but after i changed the mysql codes to an inc file i got this error:
Warning: Cannot modify header information - headers already sent by ......
anybody knows what should i do?
session_start();
include ("mysqlconnect.inc");
if (asdasd)
header("Location: http://asdadsdd");
and here there is no way that i can put the header before the include file cause my if statement use the data from my database
2006-06-30
12:10:39
·
4 answers
·
asked by
aryaxt
3
in
Computers & Internet
➔ Programming & Design
Waynez lol sweet :)
the problem was exactly what u said thx :)
2006-06-30
12:24:33 ·
update #1