| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Jan 2005 Location: Texas USA
Posts: 71
![]() | updating multiple rows at a time (Mysql) I need to update multiple rows of data in Mysql using PHP. It is a list of over 300 items and they all have their own specific row and ID how would I go about doing that? Thx
__________________ I wonder... |
| |
| | #3 (permalink) |
| NamePros Regular Join Date: Sep 2003
Posts: 889
![]() ![]() | They all need to have something common unless you want to update EVERY row in the table. If they have something in common then do WHERE row = 'somethingincommon' and if you just want to update every row then just leave out the where statement.
__________________ Online Time Tracking :) |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |