On Friday 11 January 2002 01:11, Dani wrote:

First of all, please keep the discussion on the list :)

> actually I'm trying to put a value from user input and then send the
> variable and the value to the same page so that I can call other php
> script.
>
> Does this make any sense?

If I understand you correctly, yes :)

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

Using this would do what you want. Extending it:

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

<? echo "The value you entered is $myvar1"; ?>
------------------------------------------------------------

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

/*
OKAY!!  Turn on the sound ONLY for TRYNEL CARPETING, FULLY-EQUIPPED
R.V.'S and FLOATATION SYSTEMS!!
*/

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