0

Please tell me how I got the following wrong:-

<form name="GetTicket" id="GetTicket" method="post" action="Winner.php?Event="<?php echo $Event ?>">
<table border="1" frame="box" cellpadding="3" align="center" width="300">
<tr><td align=left>Ticket Number</td>
<td colspan="2" width=65%>
<input type="submit" style="width:0px;height:0px;border:none">
<input type=text name="TicketNumber" id="TicketNumber" value=<?php echo $TicketNumber ?> >
</td></tr>
<tr><td align=left>Member Number</td>
<td align=left><input type="text" readonly name=MemberNommer id=MemberNommer value=<?php echo $MemberNommer ?> ></td></tr>
<tr><td align=left>Member Name</td>
<td align=left><input type="text" readonly value=<?php echo $Naam ?> ></td></tr>

The TicketNumber displays fine but neither the MemberNommer nor Naam display even though I have proved that the php variables contain valid data.

3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by MidiMagic
0

I could be wrong but i think u have to put the quotation marks in

<input type="text" readonly name=MemberNommer id=MemberNommer value="<?php echo $MemberNommer ?>" />

I dont know php, so i m not sure if the double quotes will break the php code.

0

All attributes of the type attribute="argument" now need quotes around the arguments. PHP knows this.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.