Re: [PHP] Post form values - script flow

2002-05-21 Thread Jerome Houston
Looks good Tim. if you're going to do it this way, make sure register_globals is set on in your php.ini. also you check isset($srch) AND strlen(trim($srch)). in most cases, both checks won't be necessary. unless you have high error reporting, and php will complain if you check a variable th

[PHP] Post form values - script flow

2002-05-21 Thread Tim Greenleaf
I am very new to PHP about two hours. I have a search page that I post back to the same URL. When the form is loaded I check to see if the seach variable is set ($srch is the name of the text box on the form) and then determine what function to call. I either call a welcome message function to