Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />


<h3> Choose your hire options and click submit </h3>

<form id="myform" action="process.php" method="put">

<table border=1>
<tr>
<td> Membership Number </td>
<td> <input type="text" name="memnum" maxlength="8" size="12" /> </td>
</tr>
<tr>
<td> DVD? <input type="checkbox" name="dvd" value="yes" /> </td>
</td>
<td rowspan="2" align="center">Nights required<br />
<select name="nights">
<option>1</option> <option>2</option>
<option>3</option> </select>
</td>
<tr>
<td> VHS? <input type="checkbox" name="vhs" value="yes" /> </td>
</tr>
<tr>
<td colspan="2" align="center">
<select id="classbox">
<option value="1">Choose classification</option>
<option value="2">PG and below </option>
<option value="3">12 and below</option>
<option value="4">15 and below</option>
<option value="5">18 and below</option> </select>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<select name="film" id="filmbox"> 
<option value="NON">Select film to reserve</option>
</select>
</tr>
</td>
</table>
<br />
<br />
<input type="submit" value="Reserve Video"/>
</form>
</body>
</html>


What I have tried:

what are some of the errors in my programme
Posted
Updated 1-Jul-18 2:44am
Comments
OriginalGriff 30-Jun-18 4:55am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
And we have no idea what that code is supposed to do, much less what it does that you think is wrong!

So edit your question, tell us what it does that you didn't expect, or doesn't do that you did; tell us any error messages; tell us where they occur; tell us what you did to get them.

Use the "Improve question" widget to edit your question and provide better information.

1 solution

If you haven't done it already you should install a decent IDE - VS 2017 has free versions...

1. No body (only a closing tag), so all your content is in the head...
2. There are some unnecessary td closings...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900