Re: How from an html/web form I may go to a php script output(of form values)

From: Date: Fri, 18 Mar 2005 09:51:22 +0000
Subject: Re: How from an html/web form I may go to a php script output(of form values)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-211024@lists.php.net to get a copy of this message
I donot know what happened in Frontpage. I just use Dreamweaver to design the page layout, and then UltraEdit to add php code. I think you are asking about the page submit. You can find the exact example in the php manual, which can be obtained from php.net a.php: <form method=post action="b.php"> <input name=usrinfo value="Input your info here"> <input type=submit> </form> b.php: echo "your input just now is:".$_POST[usrinfo]; it will work. On Fri, 18 Mar 2005 10:38:45 +0200, Leonidas Savvides <a080725@cytanet.com.cy> wrote: > How from an html/web form I may go to a php script output(of form > values) ? I mean the programming for the result : > > A visitor to webpage-A.php when press submit of a webform go to a > webpage-B.php where as a php script uses the previous form data , and > for example there's output of these data the exactly words the visitor > enters ? > > May this done in MS-FrontPage2002 ? > > THE SCRIPT IN MS-FrontPage2002 HTML MODE NO EXECUTED BUT IS LIKE NO > EXIST , UNLIKE THE CODE HAS ALREADY SCRIPT COLOR IN HTML MODE OF > FRONTPAGE AND ALSO PHP SCRIPT FILE NAME xxx.php IS IN THE WEB FORM > PROPERTIES ? ... I INSERT PHP SCRIPT IN <SCRIPT> ..... </SCRIPT> TAGS ? > AND ALSO I TRY DELETE PHP SCRIPT INSERTING ONLY ONE COMMAND THE: > <Script> > echo "this operate till here"; > </Script> > BUT AGAIN THE SAME RESULT .... ? > After press SUBMIT the php script file shows in address bar and all > viewed area is white (nothing on screen) ? > > Leonidas Savvides > a080725@cytanet.com.cy > > -- Sincerely, Forest Liu(刘云赟)

« previous php.general (#211024) next »