Jump to content
php.lv forumi

Recommended Posts

Posted

Mysql kļūdu pārbaudīji? if (!$Sbb_query) { die(mysql_error()); }

Gatavu kveriju pārbaudīji? echo $SQLqbb;

Posted

Šo:

$SQLqbb = "UPDATE `items` SET `icount`='".$icount."' WHERE `item_id`='".$buy."' AND `id_user`='".$logu."'";

uz:

$SQLqbb = mysql_query("UPDATE `items` SET `icount`='".$icount."' WHERE `item_id`='".$buy."' AND `id_user`='".$logu."'") or die(mysql_error());

×
×
  • Create New...