Editing multiple records

wxdqz

New Member
I'm writing a script that allows mass-editing of records (this table only has 3 fields, so it's tedious doing them one at a time).

I'm just after some opinions on the best way to do this. The only way I can thin of is to prefix all the form variables with the id, so I'd have

<INPUT TYPE=TEXT NAME=123_title VALUE=http://www.phpbuilder.com/board/archive/index.php/ddd><INPUT TYPE=TEXT NAME=123_path VALUE=ddd><BR><BR>

<INPUT TYPE=TEXT NAME=124_title VALUE=eee><INPUT TYPE=TEXT NAME=124_path VALUE=eee>

etc., but this would be a little messy on the other side. Any suggestions? I'd also like to add a few blank rows on the end, so records can be added if needed (tho since this will only be about 5, I can just call these new_1 new_2 etc., it's the hundreds out the db i'm worred about!)

Thanks,

Danny
 
Back
Top