Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Alessandro Pellizzari Newsgroups: it.comp.www.php Subject: Re: lettura e modifica =?UTF-8?B?ZGF0aeKAiw==?= Date: 9 Apr 2016 21:35:22 GMT Lines: 17 Message-ID: References: <2016040814454822013@mynewsgate.net> <2016040913555122013@mynewsgate.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 7irAWb0YMlJ4gIc82nFy0wXUQ18GTH27O6xZZwprQB6ASvLm4= Cancel-Lock: sha1:/H5qVxgeyUmKRq5em6jlbz7CRx4= User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Xref: csiph.com it.comp.www.php:20631 Il Sat, 09 Apr 2016 13:55:51 +0000, infoannu ha scritto: > $query = "UPDATE servizicitta SET invio = 9 WHERE id='".$row['id]'."'"; > > mi dà il seguente errore​ > > Parse error: syntax error, unexpected ';', expecting ']' Mea culpa. Gli editor che ti chiudono automaticamente le parentesi mi stanno rovinando la calligrafia. :D Come dicono giustamente fmigliori e Leonardo, è $row['id'] con apici e parentesi chiuse nell'ordine corretto. Bye.