$sql = "UPDATE taploadı SET shipping = REPLACE(shipping, '1', '0')";
mysql_query($sql);
Teşekkürler hocam,
tablo adına mesela bu shipping product sayfasında oc_product mü yazacağız?
böyle bir hata aldım,
Sabit çözümleme:
Çözümleme sırasında 3 hata bulundu.
Beklenmedik karakter. (near "$" at position 0)
Beklenmedik ifade başlangıcı. (near "$" at position 0)
Tanınmayan ifade türü. (near "sql" at position 1)
SQL sorgusu:
$sql = "UPDATE oc_product SET shipping = REPLACE(shipping, '1', '0')"
MySQL çıktısı: Belgeler
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$sql = "UPDATE oc_product SET shipping = REPLACE(shipping, '1', '0')"' at line 1