Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.www.php > #20875
| From | Alessandro Pellizzari <shuriken@amiran.it> |
|---|---|
| Newsgroups | it.comp.www.php |
| Subject | Re: istruzioni update in unico script |
| Date | 2016-06-01 07:05 +0000 |
| Message-ID | <dr7fp0Fi87iU1@mid.individual.net> (permalink) |
| References | <2016053116353521718@mynewsgate.net> <bb4784e0-9c4d-4a61-97b8-1553714e5853@googlegroups.com> |
Il Tue, 31 May 2016 14:53:17 -0700, fmigliori ha scritto: >> $query = "UPDATE tabella SET campo ='f' WHERE id='1';"; >> $query .= "UPDATE tabella SET campo ='k' WHERE id='4';"; >> $query .= "UPDATE tabella SET campo ='h' WHERE id='5' "; >> >> mysqli_multi_query($query); > o eseguire venti mysqli_query, non fa differenza. O usare PDO con una prepared statement, che ci mette anche meno. :) Bye.
Back to it.comp.www.php | Previous | Next — Previous in thread | Find similar | Unroll thread
istruzioni update in unico script "Halnow" <21718invalid@mynewsgate.net> - 2016-05-31 16:35 +0000
Re: istruzioni update in unico script RedWiz <redwiz@inwind.it> - 2016-05-31 17:04 +0000
Re: istruzioni update in unico script Leonardo Serni <lserni@gmail.com> - 2016-05-31 21:50 +0200
Re: istruzioni update in unico script fmigliori <fmigliori@gmail.com> - 2016-05-31 14:53 -0700
Re: istruzioni update in unico script Alessandro Pellizzari <shuriken@amiran.it> - 2016-06-01 07:05 +0000
csiph-web