It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 28
Posts: 5
|
I have a from with four elements a checkbox and a textfield and two which are hidden. Jobid and userid.
The jobid is written once and the userid is These are dynamic items from the database. What i want to do is loop through the items and then insert the new values back into the database via an update statement. Code: <input type="checkbox" name="SS" value="1" checked> <textarea name="frt" cols="35" rows="2">Joe</textarea> <input type="hidden" name="d" value="44"> <% values = Request.form("SS") cti = Split(values, ",") for i = 0 To UBound(cti) str_sql = "UPDATE dJob SET [SS]="& cti(i) &", frt = "& &" where d=" & &" and v = "& &"" cn.execute(str_sql) next %> I'm pulling my hair out any help would be appreciated Thanks Clayton |
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Listing of Business Forms... | Evolution Graphics | General Business Issues | 3 | 09-01-2006 12:33 AM |
| What's the safest way to deploy a windows forms app? | agaba175 | .NET | 1 | 08-04-2006 03:40 PM |
| Are there compatibility issues between ASP.NET and mobile Web forms? | Nazir | .NET | 0 | 07-25-2006 10:28 AM |
| Take The Items Out Of The Store | Geaux | Home Base | 31 | 10-24-2005 05:34 AM |
| [php] Submitting Forms | Gaia | Graphics & Multimedia | 0 | 06-13-2005 12:43 AM |