I'm still trying to figure out how to display text for an "onchange" event
that warns the user "Data changed" next to each field before they click to
update.

But I'm also trying to figure out how to retrieve a value from a checkbox
array. Basically I have a loop that displays all pictures in a directory
with a certain file name, and I want the user to be able to check the box to
select which pictures they want to display. How do I save and then retrieve
the values in this checkbox array?

while ($file = readdir($openedDirectory))

if($file != "." && $file != ".." && $file != "Thumbs.db" && $file !=
"index.html" && $file != "index.php")
{
$sevenLeftChar = substr($file, 0, 7);
if ($sevenLeftChar == $MLSNumber)
   {
  $totalPictures++;
  echo "<a href = '/rentals/pictures/$file'>$file</a>";
  echo "<img border='0' src='/rentals/pictures/$file' width='72'
height='54'><br></br>";
  echo "<input type='checkbox' value='$pictures[$a]' name='$pictures[$a]'>:
$file <br />";
  $a++;
  echo "$pictures[$a]";
   }
}
Grant


[Non-text portions of this message have been removed]

Reply via email to