Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Header Location
Evenement
post 14.01.2004, 23:39:04
Post #1





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 1.01.2004

Ostrzeżenie: (0%)
-----


Co to za bląd?

Warning: Cannot modify header information - headers already sent by (output started at c:usrkrasnalwwwnewincludeloadsql.php:15) in c:usrkrasnalwwwnewincludedownload.php on line 125

Kod
$sql = "SELECT * FROM `download` WHERE id='$fileid'";

$wykonaj = mysql_query($sql);

$new = mysql_fetch_array($wykonaj);



$id = $new['id'];

$odsl = $new['pobran'] + 1;



$sql = "UPDATE download SET pobran='$odsl' WHERE id='$id'";

$query = mysql_query($sql);





header("Location: index.php");
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 04:10