pb&j
01-18-2003, 04:16 PM
Simple question...
Currently I have this...
$webpage = $_POST['webpage'];
$name=$_POST['name'];
$comments=$_POST['comments'];
And so forth...
I'd like to create a loop to automatically put the POST variable into it's own same named variable instead of writing out a ton of lines like above.
While I'm asking... afterwards (not during the previous loop) I'd like a loop to echo the results out. If the result is null, then don't display that line.
::edit::
For those helping, please refer to my second post below for a more updated idea of what I am trying to do. Thanks.
::/edit::
TIA.
Currently I have this...
$webpage = $_POST['webpage'];
$name=$_POST['name'];
$comments=$_POST['comments'];
And so forth...
I'd like to create a loop to automatically put the POST variable into it's own same named variable instead of writing out a ton of lines like above.
While I'm asking... afterwards (not during the previous loop) I'd like a loop to echo the results out. If the result is null, then don't display that line.
::edit::
For those helping, please refer to my second post below for a more updated idea of what I am trying to do. Thanks.
::/edit::
TIA.