How do I do this?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
newprogram
Forum Newbie
Posts: 4
Joined: Mon Nov 13, 2006 9:55 pm

How do I do this?

Post by newprogram »

Im new to php so I have no idea how to do this what I'm do is I have
2 webpages the first one someone enter 5 numbers and press and continue button then it go to page two and displays it on the top of that page. how would I do this ?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

An HTML form and some PHP code that uses $_POST or $_GET.
newprogram
Forum Newbie
Posts: 4
Joined: Mon Nov 13, 2006 9:55 pm

Post by newprogram »

feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


i have the html forum part but how do i where do I insert the php	
[syntax="html"]<form method="POST" action="--WEBBOT-SELF--" onsubmit="location.href='_derived/nortbots.htm';return false;" language="JavaScript" name="FrontPage_Form1" webbot-onSubmit="return FrontPage_Form1_Validator(this)">
						<!--webbot bot="SaveResults" U-File="_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Builtin-Fields U-Confirmation-Url="http://www.MYSITE.COM/NEXT.HTM" U-Validation-Error-Url="http://www.google.com" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374" endspan -->
						<p align="center">
					<!--webbot bot="Validation" s-display-name="Your Email " b-value-required="TRUE" i-minimum-length="5" --><input type="text" name="ZIP" size="17" style="float: left; position: relative; border-style: groove; border-width: 5px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
					<a href="start1.htm">
					<input border="0" src="contue2.gif" name="I1" width="130" height="32" type="image"></a>
					</form>

feyd | Please use[/syntax]

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Post Reply