passing parameter to function

From: Date: Thu, 26 Feb 2004 20:21:14 +0000
Subject: passing parameter to function
Groups: php.db 
Request: Send a blank email to php-db+get-33161@lists.php.net to get a copy of this message
Hi, Say I have a script that knows the value of a variable $codename. The script contains a function that needs to know the value of $codename. What is the syntax for passing the parameter to the function? Example: the script knows that $codename = blah. The function has to pass 'blah' on to another script as a hidden value in a form using the POST method. The other script is not receiving the value of $codename. Thanks for any help. Robbie -- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Robbie Staufer NCAR/SCD 1850 Table Mesa Dr. Rm. 42 Boulder, CO. 80305 (303) 497-1836

« previous php.db (#33161) next »