Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11

Thread: Need Help

  1. #1
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need Help

    Im building this page for a guy i work for, here is the code, we want this sent into an email all the information, the code looks good to me, but it just will not work, can anyone help me figure out?


    <html>
    <body> <left>Welcome to the “HOT LIST”, your one stop for homes in the Columbus market. This site is fast, free and easy to use. We have put information that you want just one click away.<BR>
    If you are looking for a home in the Central Ohio area and just want to get a feel for the market we give you many ways to do just that…
    <BR>
    <a href="http://www.exit1team.com/HomesAuthenticated.aspx?tabid=1681033">
    <font color="#0000FF">• You can go directly to the Columbus MLS, search, save and even schedule an appointment of the homes that meet your unique criteria…just click here!</font>
    </a>
    <BR>
    • Or, you can fill-in the information box below and we will do the search for you, plus place you on our automatic home finder program…when a home comes on the market that meets your unique criteria the information will be e-mailed to you immediately.<BR>
    • If you are looking for special deals such as HUD and Foreclosure properties or Short Sale opportunities just click on the associated link here and you will be taken to our special section covering these types of homes.<BR>
    • If you would like to speak to one of our “Buyer Consultants” please phone 614-212-7701<BR>


    <fieldset>
    <legend>
    Search:
    </legend

    <form>
    <center>

    <FORM action="mailto:you@yourdomain.com">


    Price:
    <SELECT/>
    <OPTION SELECTED> Select Price Range
    <OPTION>$50,000-$75,000
    <OPTION>$75,000-$100,000
    <OPTION>$100,000-$125,000
    <OPTION>$125,000-$150,000
    <option>$150,000-$175,000
    <option>$175,000-$200,000
    <option>$200,000-$225,000
    <option>$225,000-$250,000
    <option>$250,000-$275,000
    </SELECT><BR>


    # of Bedrooms:
    <SELECT/>
    <OPTION SELECTED> # of Bedrooms
    <OPTION>1+
    <OPTION>2+
    <OPTION>3+
    </SELECT><BR>



    # of Bathrooms:
    <SELECT/>
    <OPTION SELECTED> # of Bathrooms
    <OPTION>1+
    <OPTION>2+
    <OPTION>3+
    </SELECT><BR>





    Columbus:
    <input type="checkbox" name="Columbus" VALUE="yes">
    Pickerington:
    <input type="checkbox" name="Pickerington"VALUE="yes">
    <br>
    Dublin:
    <input type="checkbox" name="Dublin"VALUE="yes">
    Hillard:
    <input type="checkbox" name="Hillard"VALUE="yes">
    <br>
    Upper Arlington:
    <input type="checkbox" name="Upper Arlington"VALUE="yes">
    Worthington:
    <input type="checkbox" name="Worthington"VALUE="yes">
    <br>
    Westerville:
    <input type="checkbox" name="Westerville"VALUE="yes">
    New Albany:
    <input type="checkbox" name="New Albany"VALUE="yes">
    <br>
    Gahanna:
    <input type="checkbox" name="Gahanna"VALUE="yes">
    Grove City:
    <Input type="checkbox" name="Grove City"Value="yes">
    <br>
    Obetz::
    <input type="checkbox" name="obetz"Value="yes">
    Reynoldsburg:
    <input type="checkbox" name="obetz"value="yes"><br/>







    <br>
    Name:
    <input type="text" name="FirstName" size="20">
    <br>
    Phone:
    <input type="text" name="Phone" size="20">
    <br>
    Email
    <input type"text" name="Email" value="" size="20"><br>
    <input type="submit" value="Submit"</FORM>
    <br>

    <p>
    Thank you! For quicker results please click the MLS link to the right!
    </p>

    </fieldset>
    <center>
    </body>
    </html>

  • #2
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it would be nice if we could send it to our mail when they hit submit instead of it being sent through thier mail first, but that requires php right?

  • #3
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    @ Your first post:

    You are using a lot of deprecated code, and have several errors, such as duplicated or unfinished tags.

    For lots of suggestions, try validating your code, by following this link:
    http://validator.w3.org/

    @ Your second post:

    Yes, but there are lots of free scripts out there:

    http://www.google.com/search?q=PHP+mailer+script

    (Several good ones there)

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #4
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    wow well now im totally lost

  • #5
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well we would love to use php but our hosting does not have php

  • #6
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    well we would love to use php but our hosting does not have php
    Sorry, I didn't realize.

    wow well now im totally lost
    Feel free to ask questions...

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #7
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    how do i go about fixing all this? im fairly new, i put in the code on that site its telling me alot of stuff, and its confusing

  • #8
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    From the code you posted above, you're pretty close to what you want, but you are using many outdated methods, and you also have several typos.

    Do you know anything about CSS? Just wondering, because if not, I can give you a quick run down of it and it will make your life easier



    Some suggestions for cleaning up your code:

    First, put in a doctype. (More info about doctypes at that link)

    Also, if you have a tag like br, input, or hr, that doesn't need a closing tag, write it like this: <br /> <input /> <hr /> etc, instead of like this: <br> <input> <hr>.

    Write all your tags in lower case.

    Make sure you close your tags, and nest them correctly

    HTH,
    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #9
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i know nothing about css. any help i would love!!

  • #10
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    also is there a code to where everything can be centered yet alligned to the left?

  • #11
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    This is a very good CSS tutorial: http://www.w3schools.com/css/css_intro.asp

    I hope you don't think I'm just punting the issue and sending you off to look at some website. I started to write an explanation of CSS, and found I couldn't do it very well, so I think that the tutorial will be a better place for you to learn and if you have questions, feel free to ask them!

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •