Hi,

I have a php script which does some stuff and at the end of the file I have
it include a file which has a form in it. The problem I am having is that it
is missing code.  If you go down to the second input - it has a value="0"
field - this does not show up when I view the source from my browser. The
first input value= works fine.

Anyone have any ideas on this.....TIA

i.e.  <? php stuff;  include("theform.inc"); ?>

This is theform.inc......

<FORM ACTION="stats-write.php" action="post" name="update">
<INPUT TYPE="hidden" name="FromPosted" value="TRUE">

<TABLE ALIGN="center" WIDTH="200">

<TR><TD COLSPAN="2"><HR SIZE="3" COLOR="#63687B"></TR></TD>
</TD></TR>
<TR><TD ID=WD CLASS="main">Player:</TD>
<TD ALIGN=right ID=WD>

<input type=text name="player" SIZE="10" value="<? echo $line['player'];
?>">

</TD></TR>
<TR><TD COLSPAN="2"><HR SIZE="3" COLOR="#63687B""></TR></TD>
<TR><TD ID=WD CLASS="main">Goals:</TD>
<TD ALIGN="right" ID=WD>

<input type=text name="goals" SIZE="5" value"0">

</TD></TR>

<TR HEIGHT=5><TD ID=WD></TD>
<TR><TD COLSPAN="2"><HR SIZE="3" COLOR="#63687B"></TD></TR>
<TD ALIGN="center" colspan=2>
<input type="submit" value="Update" name="submit">
</TD></TR></TABLE>

</FORM>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to