Hotel PHP booking_details.php Recordset problem
Hi
I have a problem in putting a Recordset(Query) in my booking_details.php file. I get the following message: "The Recordset script does not define the applyServerBehaviour function." I'm a newbbie, so any help is welcomed. This is the code I'm using(in Dreamweaver):
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;
color: #003366;
}
.style2 {font-family: Geneva, Arial, Helvetica, sans-serif}
-->
</style>
</head>
<body>
<blockquote>
<blockquote>
<form id="bookroom" name="bookroom" method="post" action="">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td colspan="2" align="center"><p><span class="style1">Email Address not found! <br />
</span><span class="style2">click here to enter your email address again, or to register as a New User </span></p>
<p class="style2">Thank you, name surname, please enter your Booking Details below </p></td>
</tr>
<tr>
<td width="32%" align="right"><span class="style2">Arrival Date </span></td>
<td width="68%"><span class="style2">
<label>
<input name="startDate" type="text" id="startDate" maxlength="10" />
</label>
</span></td>
</tr>
<tr>
<td align="right"><span class="style2">Departure Date </span></td>
<td><span class="style2">
<label>
<input name="endDate" type="text" id="endDate" maxlength="10" />
</label>
</span></td>
</tr>
<tr>
<td align="right"><span class="style2">Room Type </span></td>
<td><span class="style2">
<label>
<select name="roomType" id="roomType">
<option value="Single" selected="selected">Single</option>
<option value="Double">Double</option>
<option value="Suite">Suite</option>
</select>
</label>
</span></td>
</tr>
<tr>
<td align="right"><span class="style2">In Room Extras Required </span></td>
<td><span class="style2">
<label>
<input name="networkconnection" type="checkbox" id="networkconnection" value="1" />
Network Connection </label>
</span></td>
</tr>
<tr>
<td align="right"><span class="style2"></span></td>
<td><span class="style2">
<label>
<input name="PC" type="checkbox" id="PC" value="1" />
</label>
PC</span></td>
</tr>
<tr>
<td align="right"><span class="style2">Number Of Adults </span></td>
<td><span class="style2">
<label>
<select name="adults" id="adults">
<option value="1">1</option>
<option value="2">2</option>
</select>
</label>
</span></td>
</tr>
<tr>
<td align="right"><span class="style2">Number of Children </span></td>
<td><span class="style2">
<label>
<select name="children" id="children">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</label>
</span></td>
</tr>
<tr>
<td align="right" valign="top"><span class="style2">Room options </span></td>
<td><p>
<label>
<input type="radio" name="roomoptions" value="0" />
Smoking</label>
<br />
<label>
<input type="radio" name="roomoptions" value="1" />
Non-Smoking</label>
<br />
</p> <span class="style2"></span></td>
</tr>
<tr>
<td align="right"><span class="style2">Special Requirements </span></td>
<td><span class="style2">
<label>
<textarea name="requirements" cols="30" rows="6" id="requirements"></textarea>
</label>
</span></td>
</tr>
<tr>
<td align="right"><span class="style2"></span></td>
<td><span class="style2"></span></td>
</tr>
<tr>
<td align="right"><span class="style2"></span></td>
<td><span class="style2">
<label>
<input type="submit" name="Submit" value="Book A Room" />
</label>
</span></td>
</tr>
</table>
</form>
</blockquote>
</blockquote>
</body>
</html>
The database connection works fine with other pages of the site.
PLEASE HELP! Thanks in advance.
dedurus
freelancer
|