probs med Header
Min kode:<?php
mysql_connect("localhost","crx","914258");
mysql_select_db("crx");
$query = mysql_query("SELECT * FROM login WHERE bruger='$bruger' AND pass='$pass'");
if(mysql_num_rows($query) != 0) {
$row = mysql_fetch_array($query);
header("location: index.php?privat=index");
}
mysql_close();
?>
Giver:
Warning: Cannot add header information - headers already sent by (output started at /usr/home/whitehat_dk/users/crx/index.php:7) in /usr/home/whitehat_dk/users/crx/txt/login.txt on line 9
//Crx
