On Friday 11 January 2002 00:50, Dani wrote:
> Hi Jason!
>
> thanks for your email.
>
> I have tried
>
> http://www.mywebsite.com/mypage.php?myvariable1=value1&myvariable2=value2
>
> and adding this into my form
>
> <form = "form1" method = "post" action ="<?php echo
> "$PHP_SELF?myvariable1=$myvariable1&myvariable2=$myvariable2"; ?> ">
>
> <input type = "text"  name="myvariable1" value="">
>
> but I still get some error like this ====> The specified CGI application
> misbehaved by not returning a complete set of HTTP headers. The headers it
> did return are:


I'm confused at what you're trying to do here. In your original post you 
wanted to pass variables using the URL. But now you're combining it with a 
form!

If you're using a form then:

 <form = "form1" method = "post">
   <input type = "text"  name="myvariable1" value="<? echo $myvariable1 ?>">
 </form>

would suffice.


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

/*
Evil is that which one believes of others.  It is a sin to believe evil
of others, but it is seldom a mistake.
                -- H.L. Mencken
*/

-- 
PHP General 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