Advertisement

12.16.2003 at 02:51PM PST, ID: 20827633
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

ASP Guestbook Issues

Asked by rgagli1 in Web Languages/Standards

Tags: , ,

I can not get this guestbook to work can someone please help. I have worked on this for over a month. I had the database with all the other files not even in a folder. I added the database to a folder and still did not get it to work. I will give out some serious points for this. PLEASE HELP!

Here is the guestbook.htm page (www.gordongaglianocpa.com/guestbook.htm)

<HTML>
<HEAD>
<Title> Sign Our Guestbook -- Gordon A. Gagliano, CPA</TITLE>
<meta name="keywords" content="CPA, Gordon, Gagliano,tax, tax bracket, qualified tution  , Baton Rouge, Louisiana">
<LINK HREF="style.css" REL="stylesheet" TYPE="text/css">
</HEAD>

<BODY>
<P>
</p>
<TABLE WIDTH=800 HEIGHT=600 CELLSPACING=0 CELLPADDING=0 border=0>
  <TR> <!-- Logo for company and seal-->
    <TD COLSPAN=3 VALIGN=TOP ALIGN=CENTER><img src="images/gordo.jpg" width="800" height="117">
    </TD>
  </TR>
  <TR>
    <TD valign=top HEIGHT=75% width=190 bgcolor="#CC9966">
      <table border="0" cellpadding="0" cellspacing="0" >
        <tr>
          <td valign="top" align="left" height="51"><a href="index.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='Home Page';return true"><img alt="Home Page" border="0" src="images/but1.jpg" width="200" height="46"></a></td>
        </tr>
        <tr>
          <td valign="top" align="left" height="51"><a href="prodservices.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='Products and Services';return true"><img alt="Products and Services" border="0" src="images/but2.jpg" width="200" height="46"></a></td>
        </tr>
        <tr>
          <td valign="top" align="left" height="51"><a href="taxform.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='CPA Questionnaire';return true"><img alt="Do I need a CPA?" border="0" src="images/but3.jpg" width="200" height="46"></a></td>
        </tr>
        <tr>
          <td valign="top" align="left" height="51"><a href="resume.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='About Us';return true"><img alt="About Us" border="0" src="images/but4.jpg" width="200" height="46"></a></td>
        </tr>
        <tr>
          <td valign="top" align="left" height="51"><a href="links.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='Links';return true"><img alt="Links" border="0" src="images/but5.jpg" width="200" height="46"></a></td>
        </tr>
        <tr>
          <td valign="top" align="left" height="51"><a href="contact.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='Contact Us';return true"><img alt="Contact Us" border="0" src="images/but6.jpg" width="200" height="46"></a></td>
        </tr>
      </table>
      <h5 STYLE="COLOR:white"><font size=4>Gordon A. Gagliano</font><br>
        &nbsp; 263 Third Street<br>
        &nbsp; Suite 309<br>
        &nbsp; Baton Rouge, LA 70801<br>
        &nbsp; Phone: 225-338-0810<br>
        &nbsp; Fax: 225-338-1998<br>
        <font size=3><a href="mailto:Ggagl9670@aol.com">Ggagl91670@aol.com</a></font></h5>
    </TD>
    <TD>&nbsp; &nbsp; &nbsp; </td>
    <TD WIDTH=75% ROWSPAN=4 ALIGN=LEFT>
            <h3 align=center>Sign Our Guestbook</h3>
     
        <form name="Form" METHOD="post" action="add_to_guestbook.asp">
        <p>Please sign our guestbook. If you choose YES for updates we will periodically
          send you updates whenever we receive tax news.</p>
        <table width="281">
          <tr>
            <td>First Name:</td>
            <td>
              <INPUT TYPE="text" NAME="Firstname" size="30">
            </td>
          </tr>
          <tr>
            <td>Last Name:</td>
            <td>
              <INPUT TYPE="text" name="Lastname" size="30">
            </td>
          </tr>
          <tr>
            <td>Address:</td>
            <td>
              <input type="text" name="Address" size="30">
            </td>
          </tr>
          <tr>
            <td>Apt/Suite#:</td>
            <td>
              <input type="text" name="Address2" size="30">
            </td>
          </tr>
          <tr>
            <td>City:</td>
            <td>
              <input type="text" name="Apt" size="30">
            </td>
          </tr>
          <tr>
            <td>State:</td>
            <td>
              <input type="text" name="State" size=2 maxlength="2" >
            </td>
          </tr>
          <tr>
            <td>Zip Code:</td>
            <td>
              <input type="text" name="ZipCode" size=10 maxlength="10" >
            </td>
          </tr>
          <tr>
            <td>Email:</td>
            <td>
              <input type="text" name="Email" size="30">
            </td>
          </tr>
          <tr>
            <td>Updates:</td>
            <td>
              <input type="radio" name="radiobutton" value="YES" checked>
              YES
              <input type="radio" name="radiobutton" value="NO">
              NO </td>
          </tr>
          <tr>
            <td>
              <input type="submit" name="Submit" value="Submit">
            </td>
            <td>
              <input type ="reset" name="Reset" value ="Reset">
            </td>
          </tr>
        </table>
      </form>
      </TR>
  <TR>

    <TD valign=top HEIGHT=75% width=190 bgcolor="#CC9966">&nbsp;</TD>
    <TD>&nbsp;</td>
  </TR>
</Table>
</body>
</html>


Here is the add_to_guestbook.asp page:

<%

Dim adoCon                
Dim rsAddComments          
Dim strSQL              

set adoCon=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open Server.MapPath("guestbook.mdb")
set rs=Server.CreateObject("ADODB.recordset")

'Set adoCon = Server.CreateObject("ADODB.Connection")

'adoCon.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("guestbook.mdb")

'Set rsAddComments = Server.CreateObject("ADODB.Recordset")

strSQL = "SELECT guests.firstname, guests.lastname, guests.address, guests.apt, guests.city, guests.state, guests.zip, guests.email, guests.updates FROM guests;"

rsAddComments.CursorType = 2

rsAddComments.LockType = 3

rsAddComments.Open strSQL, adoCon

rsAddComments.AddNew

rsAddComments.Fields = Request.form("firstname")
rsAddComments.Fields = Request.form("lastname")
rsAddComments.Fields = Request.form("address")
rsAddComments.Fields = Request.form("apt")
rsAddComments.Fields = Request.form("city")
rsAddComments.Fields = Request.form("state")
rsAddComments.Fields = Request.form("zip")
rsAddComments.Fields = Request.form("email")
rsAddComments.Fields = Request.form("updates")

rsAddComments.Update

rsAddComments.Close
Set rsAddComments = Nothing
Set adoCon = Nothing

Response.Redirect "thankyou.asp"
%>

Here is the thankyou page:

<HTML>
<HEAD>
<Title> Thank You from Gordon A. Gagliano, CPA</TITLE>
<meta name="keywords" content="CPA, Gordon, Gagliano,tax, tax bracket, qualified tution  , Baton Rouge, Louisiana">
<LINK HREF="style.css" REL="stylesheet" TYPE="text/css">
</HEAD>

<BODY>
<P>
</p>
<TABLE WIDTH=800 HEIGHT=600 CELLSPACING=0 CELLPADDING=0 border=0>
  <TR> <!-- Logo for company and seal-->
    <TD COLSPAN=3 VALIGN=TOP ALIGN=CENTER><img src="images/gordo.jpg" width="800" height="117">
    </TD>
  </TR>
  <TR>
    <TD valign=top HEIGHT=75% width=190 bgcolor="#CC9966">
      <table border="0" cellpadding="0" cellspacing="0" >
        <tr>
          <td valign="top" align="left" height="51"><a href="index.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='Home Page';return true"><img alt="Home Page" border="0" src="images/but1.jpg" width="200" height="46"></a></td>
        </tr>
        <tr>
          <td valign="top" align="left" height="51"><a href="prodservices.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='Products and Services';return true"><img alt="Products and Services" border="0" src="images/but2.jpg" width="200" height="46"></a></td>
        </tr>
        <tr>
          <td valign="top" align="left" height="51"><a href="taxform.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='CPA Questionnaire';return true"><img alt="Do I need a CPA?" border="0" src="images/but3.jpg" width="200" height="46"></a></td>
        </tr>
        <tr>
          <td valign="top" align="left" height="51"><a href="resume.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='About Us';return true"><img alt="About Us" border="0" src="images/but4.jpg" width="200" height="46"></a></td>
        </tr>
        <tr>
          <td valign="top" align="left" height="51"><a href="links.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='Links';return true"><img alt="Links" border="0" src="images/but5.jpg" width="200" height="46"></a></td>
        </tr>
        <tr>
          <td valign="top" align="left" height="51"><a href="contact.htm" target="" onMouseOut="window.status=window.defaultStatus;return true" onMouseMove="window.status='Contact Us';return true"><img alt="Contact Us" border="0" src="images/but6.jpg" width="200" height="46"></a></td>
        </tr>
      </table>
      <h5 STYLE="COLOR:white"><font size=4>Gordon A. Gagliano</font><br>
        263 Third Street<br>
        Suite 309<br>
        Baton Rouge, LA 70801<br>
        Phone: 225-338-0810<br>
        Fax: 225-338-1998<br>
        <font size=3><a href="mailto:Ggagl9670@aol.com">Ggagl91670@aol.com</a></font></h5>
    </TD>
    <TD>&nbsp; &nbsp; &nbsp; </td>
    <TD WIDTH=75% ROWSPAN=4 ALIGN=LEFT>
      <p>Thank you for signing my guestbook...</p>
     
        </TR>
  <TR>

    <TD valign=top HEIGHT=75% width=190 bgcolor="#CC9966">&nbsp;</TD>
    <TD>&nbsp;</td>
  </TR>
</Table>
</body>
</html>




Start Free Trial
[+][-]12.16.2003 at 06:27PM PST, ID: 9954083

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Web Languages/Standards
Tags: asp, tution, update
Sign Up Now!
Solution Provided By: c_swanky
Participating Experts: 2
Solution Grade: A
 
 
[+][-]12.23.2003 at 03:28PM PST, ID: 9994342

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.23.2003 at 07:21PM PST, ID: 9994985

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.02.2004 at 09:43AM PST, ID: 12475096

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.08.2004 at 08:28AM PST, ID: 12524667

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.12.2004 at 01:58AM PST, ID: 12563867

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42