stockton Posted July 24, 2008 Share Posted July 24, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/116396-data-not-displaying/ Share on other sites More sharing options...
Xurion Posted July 25, 2008 Share Posted July 25, 2008 Put " (quotes) around your values. Quote Link to comment https://forums.phpfreaks.com/topic/116396-data-not-displaying/#findComment-599347 Share on other sites More sharing options...
Pyro Posted July 26, 2008 Share Posted July 26, 2008 Hi, You have to put quotation marks ( " ) around the values you make otherwise they wont show up. start them after the ( = ) equals sign and finish them after the value. ~Py Quote Link to comment https://forums.phpfreaks.com/topic/116396-data-not-displaying/#findComment-600164 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.