hi pug!!
could you please post the form you have!?
but what you could to is something like that:
<?php
// id for the paths which you get from the form
$id = 1;
// yout paths which you get from the text-boxes
$allPaths = array('path1', 'path2');
// DELETE ALL DB-ENTRIES FOR CURRENT ID FIRST
$query ="DELETE FROM table_name WHERE id = '$id'";
$result = mysql_query($query);
// ADD NEW PATHNAMES TO DB
$query = '';
$seperator = '';
while(list($key, $value) = each($allPaths)) {
$query .= $seperator . "('$id', '$value')";
$seperator = ', ';
}
$query = "INSERT INTO table_name (id, path) VALUES $query";
$result = mysql_query($query)
?>
hope that helps!!
ceeyaa.MeX