Code Comments
Programming Forum and web based access to our favorite programming groups.Is that a syntax supported by MySQL? That is, an INSERT with WHERE clause? I tried it against Oracle, and it doesn't work (can you imagine how upsetting it would have been to have learned that, after having worked with SQL for several years, one can do an update using an INSERT statement?). I'm pretty sure it doesn't work against MS SQL Server, DB2, etc (not 100% certain, but 99.9%). On 12/8/05, El Bekko <elbekko@gmail.com> wrote: > > ggirl1 wrote: > > "INSERT INTO reviews (review_txt) > VALUES > ('$_POST['review']') WHERE review_id = '$id'"; > > There, now it should work :) > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.