On 7/4/06, Augustin (Beginner) <drupal.beginner@wechange.org> wrote:
In the code below, I create a hook_menu() callback to the function formtest()
with a form.
I want to be able to print some information according to the form that has
just been submitted (here, a simple text string), then reprint the form below
that.
I know that $_POST['op'] is set when I submit (and the process die()s when I
uncomment that line), but I can't get the information submitted to be
displayed above the form.
I have tried using the function formtest_submit() but returning a value there
doesn't get the expected result (it seems it's a path callback).
I have searched the extensive documentation, but all there is is how to build
a form, not how to process and display the information.
Am I, for the third time this week, missing something obvious and simple?