Code: Select all
<input type="e;textbox"e; name="e;inputї]"e; />
<input type="e;textbox"e; name="e;inputї]"e; />
<input type="e;textbox"e; name="e;inputї]"e; />but i cant use it to insert that list into the db, unless i missed some.
Code: Select all
#example
for ($i=0;$i<sizeof($_REQUEST['input']);$i++) $upd_this = $_REQUEST['input'][$i];
update tbl set fieldname=$upd_this where id=1 //this wont work.Code: Select all
#print_r($_REQUEST['input']) outputs array("1"=>"one","2"=>"two","3"=>"three");
$clean_list = "one,two,three";
update tbl set fieldname=$clean_list where id=1