Questions, questions.
| From: | Batchelor, Scott | Date: | Tue, 19 Mar 2002 16:01:24 +0000 |
| Subject: | Questions, questions. | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3111@lists.php.net to get a copy of this message | ||
Hi all,
New to the Mailing list, smarty and PHP in general, so please be patient. I
have a few questions that I hope some of you can help me with.
I am trying to build a form with templates...that is easy enough. But I
also want to do validation on this form. My current thinking is to put
everything into an array. And then call a PHP function to check it. What I
would like to do is call the function from the same page that my PHP
template code is on. But I am not sure if I can do this? I know that I can
create an entirely different PHP page and have it called on the submit of
the form to do validation. But I was trying to keep it to just 1 PHP page
and my template file.
Any help is greatly appreciated.
Scott M. Batchelor | sbatchel@indiana.edu
IT Policy Office - OVPIT | voice: (812) 855-6346
Indiana University | fax: (812) 855-7868