Ada error kayak gini. ada yg tau kenapa?
Kalo di server lokal sih ga ada eror spt ini.
[20-Jul-2007 15:49:45]
PHP Warning: Cannot modify header information - headers already sent by
(output started at /home/gunindo/public_html/forms/adm_our_product_add.php:1)
in
/home/gunindo/public_html/forms/adm_our_product_add.php on line 17
File: adm_our_product_add.php
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
-->
</style><?php
include("../include/config.inc.php");
include("../include/function.php");
$conn=mysql_connect("localhost", $Username, $Password);
mysql_select_db($DB);
$id_produk=getIDProdukNext();
$txtNama=$_POST["txt_NamaProcuk"];
$txtDeskripsi=$_POST["txtDeskripsi"];
mysql_query("INSERT INTO PRODUK(id_produk, nama_produk, deskripsi) VALUES('$id_produk', '$txtNama', '$txtDeskripsi')");
mysql_close($conn);
header("Location: adm_our_product.php");
?>
yg gape PHP, tolooong