On Monday 05 November 2001 04:45, Darren wrote:

[snip]

> // string hidden_field ([string name [, string value]])
>
> // This function returns an HTML hidden field. A value may be
> supplied.
>
> function hidden_field ($name="", $value="")
> {
>       $output = print("<input type=\"hidden\" name=\"$name\"
> value=\"$value">");
>
>       return $output;
> }
>
> I still don't understand what the fix should be or what is wrong.

You can just define that function as:

  function hidden_field($name, $value) {
    blah...
    blah...
  }

hth
-- 
Jason Wong
Gremlins Associates
www.gremlins.com.hk

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to