Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Php webform with Mysql

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #24181
    quicky
    Member

    Hi All,

    Probably a stupid question for the proper coders out there but here goes…

    Can anyone help, I need to create a Php webform that will send to a My sql database (and send the form into on to the correct person).

    I would like a tutorial if possible so I can learn how to do it.
    Also if it haves captcha capability that would be cool.

    If anyone can point me in the correct direction that would be great.

    Also a free one if possible please.

    #56674
    ikthius
    Member

    let me get this straight…..

    1 you need a ccontact form
    2 you want php to run it
    3 you want to store email addresses in a database
    4 you want to have the form email a specific person within the sites businesss?
    4 have a captcha
    5 drop down the target email addresses

    if i was doing that i would:
    1 make the contact form in html with a hidden field and a captcha entry field (to stop spam)
    2 in the php get thte target email to send to
    3 make sure the captcha is the same as entered in the html form
    4 save the things you want to save to the database
    5 send the email out.

    about the tutorial you may have to view a few to get exactly what you want, I will look for some later as I am going to work now.

    #56713
    quicky
    Member

    Cheers ikthius,

    I have looked at some of the ones that come with things like dreamweaverbut they alway create tonnes of unnecessary files.
    The existing form I have seems to have a bug in the code as it does not like firefox so that was another reson for the change.

    Then again my coding is pretty poor hence the tutorial approach.

    Thanks for the help and comments

    #56722
    ikthius
    Member

    quicky,

    lets try this a stage at a time.

    can you code your HTML?

    if so then make your form. Have a select option and populate that with:
    Select Email:
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    [email protected]

    whatever is selected will get sent to that person.

    add a captcha and a hidden field for to catch spam.

    when that is done, post your code here. remember to use the [_code] [_/code] tags witout _

    when we get that to what we want we can make the contact script.

    then think about getting the emails to be stored.

    #56802
    lyleyboy
    Member

    I think your best bet would be nice site I use almost as a code repository.

    http://www.tizag.com/phpT/forms.php

    #76152
    Pratas
    Member

    you can read php forms tutorial http://phpforms.net/tutorial/html-basics/php-forms.html or use their software

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Back End’ is closed to new topics and replies.