This is a discussion on help: form textboxes on one page will not show up a variables on second within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I have a redhat 9.0 box running PHP on apache I know php works but this form will not ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a redhat 9.0 box running PHP on apache
I know php works but this form will not index.html --------------- <form method="post" action="reg.php"> <input text="name1" size="20"> <input type="submit" value="submit"> </form> reg.php ------------- <? print "this name is : "; print $name1; ?> this will not show what name is on reg.php thanks you in advance Jim |
|
|||
|
jim wrote:
> I have a redhat 9.0 box running PHP on apache > I know php works but this form will not. > <input text="name1" size="20"> Here, use <input="text" size="20" name="name1"> Regards -- Stefan |
|
|||
|
Hi Jim
for your last line try echo $_POST['name1']; jim wrote: > I have a redhat 9.0 box running PHP on apache > I know php works but this form will not > > > index.html > > --------------- > > > > <form method="post" action="reg.php"> > <input text="name1" size="20"> > <input type="submit" value="submit"> > </form> > > > > > > > reg.php > > ------------- > > > <? > > print "this name is : "; > print $name1; > > > ?> > > > > > this will not show what name is on reg.php > > > thanks you in advance > > Jim |
![]() |
| Thread Tools | |
| Display Modes | |
|
|