Right now it's only letting me save the very last one in a variable I've named $memo. I thought that if I echoed $memo within the loop it would print out each text box's input, but it's only taking the last one and printing that to the screen the amount of textboxes that I have.
This is basically the code in the for loop which is in a form:
Expand|Select|Wrap|Line Numbers
- {
- <input type="text" size="5" name="memo" id="memo" value="" />
- $memo = $_POST['memo'];
- echo $memo;
- }
- <input type="submit" name="Save" value="Save" />
Expand|Select|Wrap|Line Numbers
- <input type="text" size="5" name=$memo[$i] id="memo" value="" />
- $i++;
-Coco