mi dite perche non vengo indirizzato tramite header??
update funziona correttamente ma header no
Codice PHP:
<?
{ if ( $p == ""){
$insertSQL = sprintf("INSERT INTO down_t (idt, tipo, ip, `data`, autore, username, prezzo) VALUES (%s, %s, %s, %s, %s, %s, %s)",
GetSQLValueString($_GET['idt'], "int"),
GetSQLValueString(ab1, "text"),
GetSQLValueString($ip, "text"),
GetSQLValueString($data, "text"),
GetSQLValueString($_GET['a'], "text"),
GetSQLValueString($_GET['u'], "text"),
GetSQLValueString($prezzo, "text"));
mysql_select_db($database_fre1, $fre1);
$Result1 = mysql_query($insertSQL, $fre1) or die(mysql_error());
header("Location: ok.php");
}
else{header("Location: ok.php");}}
?>