Perche mi da errore con la funzione replace?
Codice PHP:
UPDATE `italy` SET `city_region`= REPLACE("city_region","-"," ")
Perche mi da errore con la funzione replace?
Codice PHP:
UPDATE `italy` SET `city_region`= REPLACE("city_region","-"," ")
questo è l'errore che mi da:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '"italy" SET "city_region" = REPLACE("city_region","-"," ")' at line 1
REPLACE(city_region,"-"," ")
cioè devo inserire sono replace senza UPDATE?
Ultima modifica di techno; 31-01-2018 a 19:18
mancano gli apici nel mio esempio