Knowledgebase
Using Foreach/Loop on a query
Posted by acctman, 09-01-2008, 04:10 PM | Hi, the current code I wrote below looks up one user ID (m_id = 39) and processes it, how would I process all rows in table rate_mem?
|
Posted by Exoware, 09-01-2008, 04:22 PM | My first attempt would be to implement wildcards after SELECT and UPDATE.
|
Posted by acctman, 09-01-2008, 05:17 PM | I think it'll require a little bit more then just a wildcard
|
Posted by Exoware, 09-01-2008, 05:29 PM | In that case, divulge a little bit more as to what is actually going on. The sort of information that is being processed, etc.
|
Posted by Jatinder, 09-02-2008, 12:52 AM | This should do the trick:
|
Posted by acctman, 09-02-2008, 11:05 AM | thanks, everything worked
|
|
Add to Favourites
Print this Article |
Also Read
Software raid (Views: 523)