php - Can't figure out this mysql query -


ok, first i've been trying make php script right query, when run sql error check, discover query whats wrong in script... since php fine, won't bother posting php does.

i've been trying several syntaxes people recomend on many places... i'm trying using phpmyadmin directly insert queries , test how works faster...

i did many of queries on past can't figure out wrong.... tried using phpmyadmin default syntax , use necessary stuff... still no work.

the query im using:

update `promos` set `img2`='captura_de_tela__2_.png' `id` 1 

so table promos, field want change field 'img2', on id 1, , insert image src there, 'captura_de_tela__2_.png'.... still trying... not working still... please help!!!

update `promos` set `img2`='captura_de_tela__2_.png' `id` = 1 

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -