Passing Form As Argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


I'm new to the list so "Hello" to all. I'm drafting a function.php page, which will be included() in the pages in need. How would I pass a form as an argument of a function? From the name parameter of the form element or perhaps an ID:


function checkForm(theForm){
	//Form validation code omitted.




}


Also, I seem to recall some caution is needed when using user-defined functions?



"Art is an expression of life and transcends both time and space.
We must employ our own souls through art to give a
new form and a new meaning to nature or the world."
-- Bruce Lee
_________________________________________________
Return True,

Christopher Kennon
Principal/Designer/Programmer -Bushidodeep
http://bushidodeep.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux