BigBadDave
Programmer
Hi, How do you post form values as an array? In PHP I would do it like this:
Then I could read the posted results back like this:
How do I do this with Cold Fusion Regards
David Byng
davidbyng@hotmail.com
Code:
<?php
for ($i = 0; $i < 5; $i++) {
echo "<input name='foo[]'>";
}
?>
Then I could read the posted results back like this:
Code:
<?php
for ($i = 0; $i < count ($_POST["foo"]); $i++) {
echo "Result of foo $i is: " . $_POST["foo"][$i];
}
?>
How do I do this with Cold Fusion Regards
David Byng

davidbyng@hotmail.com