PHP FORM ERROR

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
gouber
Forum Newbie
Posts: 1
Joined: Fri Dec 05, 2003 11:41 am

PHP FORM ERROR

Post by gouber »

I have this form in an html doc. It calls a php doc. The variable is undefined when it reached the php code. Could anyone help?

Thanks,
TJ

======================================
===== HTML CODE ========================
======================================


<FORM ACTION="process.php" METHOD="post">
<TABLE WIDTH="325" BORDER="0" CELLSPACING="0" CELLPADDING="6">
<TR>
<TD WIDTH="106" ALIGN="RIGHT"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="2">
Name:</FONT></TD>
<TD WIDTH="206">
<INPUT NAME="Name" SIZE="30" >
</TD>
</TR>
</table>
<P ALIGN="CENTER">
<INPUT TYPE="submit" VALUE="Submit" NAME="submit">
<INPUT TYPE="RESET" NAME="Reset" VALUE="Reset">
</FORM>

======================================
===== PHP CODE ========================
======================================


<HTML>
The name is :
<?php
echo ("Welcome, " . $Name . "!");
?>
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

Refer to this post:
viewtopic.php?t=511

[Bah! ;) --JAM]
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

This thread: viewtopic.php?t=511
4th post on this: viewtopic.php?t=8815
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

JAM wrote:This thread: viewtopic.php?t=511
4th post on this: viewtopic.php?t=8815
^^ Fastest poster in the west :P
Post Reply