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
Aaron
Forum Commoner
Posts: 82 Joined: Sun May 12, 2002 2:51 pm
Post
by Aaron » Mon May 13, 2002 4:36 am
The form
Code: Select all
<form method="POST" action="mixin.php">
<div align="center"><font face="Verdana" size="2">Name: </font>
<br>
<font face="Verdana" size="2">
<input type="text" NAME="name">
</font> <font face="Verdana" size="2"><br>
</font><font face="Verdana" size="2"><br>
Says:</font> <br>
<font face="Verdana" size="2">
<textarea rows="8" NAME="says"></textarea>
</font> </div>
<p>
<input type="submit" value="Send" NAME="send">
<input type="reset" value="Reset" name="B2"></form>
The sorter
Code: Select all
<?
$send = "namesays.php?name=$name&says=$says";
?>
The displayer.
Problem.
After submitting the form it just stops on mixin the php instead of fowarding to the namesays.php with the new inputs...why??? thx
DSM
Forum Contributor
Posts: 101 Joined: Thu May 02, 2002 11:51 am
Location: New Mexico, USA
Post
by DSM » Mon May 13, 2002 7:32 am
It stops because you are not sending it anywhere.
mixin.php
Code: Select all
<form method="POST" action="namesays.php">
<div align="center"><font face="Verdana" size="2">Name: </font>
<br>
<font face="Verdana" size="2">
<input type="text" NAME="name">
</font> <font face="Verdana" size="2"><br>
</font><font face="Verdana" size="2"><br>
Says:</font> <br>
<font face="Verdana" size="2">
<textarea rows="8" NAME="says"></textarea>
</font> </div>
<p>
<input type="submit" value="Send" NAME="send">
<input type="reset" value="Reset" name="B2"></form>
namesays.php
Code: Select all
<?echo "$name"; ?> says " <? echo "$says"; ?> "
Aaron
Forum Commoner
Posts: 82 Joined: Sun May 12, 2002 2:51 pm
Post
by Aaron » Mon May 13, 2002 8:06 am
Thx alot, i owe you, ill post a link to it later.
Aaron
Forum Commoner
Posts: 82 Joined: Sun May 12, 2002 2:51 pm
Post
by Aaron » Mon May 13, 2002 8:30 am
DSM
Forum Contributor
Posts: 101 Joined: Thu May 02, 2002 11:51 am
Location: New Mexico, USA
Post
by DSM » Mon May 13, 2002 9:23 am
Glad it worx