Wrox Programmer Forums
|
BOOK: Dreamweaver MX: PHP Web Development
This is the forum to discuss the Wrox book Dreamweaver MX: PHP Web Development by Gareth Downes-Powell, Tim Green, Bruno Mairlot; ISBN: 9780764543876
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Dreamweaver MX: PHP Web Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 13th, 2006, 12:38 PM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Recordset error in Dreamweaver Using PHP and MySQL toosuave Dreamweaver (all versions) 1 August 25th, 2006 07:27 AM
Error: movie.php & commit.php on p182-186, ch6 willburke BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 12th, 2004 02:48 PM
php recordset and email cindy Beginning PHP 1 September 22nd, 2003 12:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.