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.

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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.