arkadaşlar sürekli ayni hatayi aliyorum yardimci olursaniz sevinirim...
aldığım hata:
[URL=www.resimupload.com/ds208473300_aaaaa.html][IMG]http://pic1.resimupload.com/r7/thumb_208473300.JPG[/IMG][/URL]
kod kısmı:
<?php
session_start();
include "connection.php";
if($_POST["sel_item_id"]!= "") {
$get_iteminfo = "select item_title from store_items
where id = '$_POST[sel_item_id]'";
$get_iteminfo_res = mysql_query($get_iteminfo)
or die(mysql_error( ));
if(mysql_num_rows($get_iteminfo_res) < 1) {
header("Location: seestore.php");
exit;
}else{
$item_title =mysql_result($get_iteminfo_res,0, 'item_title');
$addtocart = " insert into store_shoppertrack values
(' ', '$_COOKIE[PHPSESSID]', '$_POST[sel_item_id]',
'$_POST[sel_item_qty]','$_POST[sel_item_size]',
'$_POST[sel_item_color]', now( ))";
mysql_query($addtocart);
header("Location showcart.php");
exit;
}
} else {
header("Location: seestore.php");
exit;
}
?>
Zaman
2010-05-29 16:11:56Php addcart.php problemi