php - Multiple while <option> update with query -
i'm trying achieve update query multiple <options> while loop. using feature assign position id's images can place them on various positions in website. have working single image, means have update each image manually. in current situation running form inside while loop. submit button posts data process file , saves. works. each image individually. i want able update image positions single submit button. in current code think problem run form inside while loop. using data multiple forms in single query not possible if right. i'm writing request noticing more of business logic error- trying wrap head around work. lets situation/code: it works this: option > button option > button each update button directs file 'photopositions.php' article id , executes insert query. i want situation: option option update button resulting in: update images single click. image the insertquery on photopositions.php looks this: $inse