Re: [PHP] Passing the variables ...

2002-10-29 Thread Peter J. Schoenster
On 29 Oct 2002 at 9:41, Mukta Telang wrote: > I have written followong code in hello.html: > > > printf("hello %s!",$textbox); > ?> > This script works fine with php in redhat 7.2 system > but does not work in solaris 7 ! > > I have done the php installation... > What are the chances th

Re: [PHP] Passing the variables ...

2002-10-29 Thread Maxim Maletsky
Ever since PHP 4.2.0 (in PHP v4.1.0 it was not default yet) you need to access the value in variable $textbox via $_POST variable: printf("hello %s!",$_POST['textbox']); -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home // my Wish

Re: [PHP] Passing the variables ...

2002-10-29 Thread Chris Hewitt
Mukta Telang wrote: I tried using echo($_GET['$textbox']) instead of printf statement in As the name of your textbox is "textbox" not "$textbox", use $_GET['textbox'] instead. HTH Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing the variables ...

2002-10-29 Thread Krzysztof Dziekiewicz
> [snip] >> I tried using echo($_GET['$textbox']) instead of printf statement in >> hello.php.. > [/snip] > Try $_POST['textbox'] instead. (You were using "method=post".) ... or $HTTP_POST_VARS['textbox'] -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Passing the variables ...

2002-10-28 Thread @ Edwin
Hello, "Mukta Telang" <[EMAIL PROTECTED]> wrote: [snip] > I tried using echo($_GET['$textbox']) instead of printf statement in > hello.php.. [/snip] Try $_POST['textbox'] instead. (You were using "method=post".) - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt