I would like to try writing my own functions, so as to keep some code
within the same PHP file rather than make multiple PHP files.
What I am having a problem is is how to call a function when a php
generated HTML form is "submitted" and to put the variables back into
another function within the same PHP file.
I have figured how to pass variables to a basic test function I wrote, but
not how to call a function within the same PHP file AND from a form.
Can't seem to find any good examples online.
Any help appreciated.
Dariusz
within the same PHP file rather than make multiple PHP files.
What I am having a problem is is how to call a function when a php
generated HTML form is "submitted" and to put the variables back into
another function within the same PHP file.
I have figured how to pass variables to a basic test function I wrote, but
not how to call a function within the same PHP file AND from a form.
Can't seem to find any good examples online.
Any help appreciated.
Dariusz
Comment