RSS Forums RSS
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 331 | Replies: 2 | Solved
Reply
Join Date: Jul 2008
Posts: 11
Reputation: stockton is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
stockton stockton is offline Offline
Newbie Poster

Data not displaying

  #1  
Jul 24th, 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.
Last edited by stockton : Jul 24th, 2008 at 9:41 am. Reason: Remove blank lines
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2008
Posts: 117
Reputation: Thirusha is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 13
Thirusha Thirusha is offline Offline
Junior Poster

Re: Data not displaying

  #2  
Jul 24th, 2008
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.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,640
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 118
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Data not displaying

  #3  
Jul 24th, 2008
All attributes of the type attribute="argument" now need quotes around the arguments. PHP knows this.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:21 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC