Results 1 to 21 of 21

Thread: Form not linking to MySQL database
      
   

  1. #1
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Question Form not linking to MySQL database

    Hi Folks,

    I have created a form which ideally needs to send the information to MySQl datbase.

    I have treid to create a seperate Form ID and form number but no success.

    Your inputs here would be valued.

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Form not linking to MySQL database

    I'm not sure how you have connected it to your database ??

    I mean, the built in form processor can't store data in a MySQL DB table, only ABVFP can, but you are not using ABVFP here.....
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Hi George,

    Thanks for the reply.

    I have two form Id's set up and tried to copy as best posssible a third using Cpanel.

    Not sure now that this was correct.

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Form not linking to MySQL database

    Rob,

    sending data from the form to the database isa function of the form processor.
    The form processor receives the data and does whatever it is set (and can) do.

    It seems that for this form, you have used the built in form processor, which dos NOT have the ability to store data in a database, as ABVFP can.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Hi George,

    I hav etaken a form that works that you helped me build - thus cannot understand it not working.

    How do I go about fixing this process.

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Form not linking to MySQL database

    Rob,

    the form I had built for you used ABVFP as the processing script. In this form instead, you have used the built in form processor.

    You need to read the instructions on how to use ABVFP to process your forms.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  7. #7
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Hi George,

    Thanks.

    I have registered ABVFP some time back.

    Please could you advise me how I get back to the processing portion of ABVFP that I may try do it the way suggested in you tutorial.

  8. #8
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Hi George,

    I have processed using ABVFP - i will give feed back

    Regards
    Rob

  9. #9
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Hi George,

    I have now gone throught the process using ABVFP.

    I have adjusted my query to pint to the correct form howvevr the result is still the same - the information is not being recieved and stored in th e MySQL database.

    The entry form can be tested at this link

    The result should be seen at this link

    If you require any further details or information please let me know

  10. #10
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Form not linking to MySQL database

    Rob, you have your form action STILL to be the built in form processor. You need to change the action of the form to point to ABVFP.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  11. #11
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Thanks for the reply.

    I am feeling quite stupid.

    I have processed the form using ABVFP.

    If I understand you correctly you are saying the entryform needs to point to the ABVFP. In other words some reference needs to be made on the entry form so that it knows to go to ABVFP?

    If this be the case please offer some guidance as to how I do that?

  12. #12
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Form not linking to MySQL database

    Wouldn't it be easier if you gave the ABVFP instructions a read ?

    It is all explained there how you can process your form with ABVFP. Repeating it here is just too time consuming.

    Download the ABVFP zip, and open the "Tutorial" to see how to use ABVFP and configure your form.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  13. #13
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Hi George,

    I have a hard copy of the document in front of me and have written notes to it as I have progressed with you in the past.

    The section: "Setting up your form correctly" is very informative.

    In trying to "point" I understand you mean the part "Action - Method - Encoding Type" needs to be correct.

    If I understand incorrectly - please advise?

    If I am correct - I have followed this process to the later with the rsult causing me to enquire.

    Really not trying to waste anyones time here but only trying to learn to do it right.

  14. #14
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Form not linking to MySQL database

    Yes, I meant the action and the encoding type. It now seems to be correct.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  15. #15
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Hi George,

    Thanks for the reply.

    I see it did have some effect but dont know what I did.

    The form still does not point as it should.

  16. #16
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Error 404

    Spending the whole day trying to sort this simple task is really no fun.

  17. #17
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Form not linking to MySQL database

    The script seems to work ok.
    Did you setup correctly the form in the ABVFP control panel ?

    Did you set it to store the info in the database ?
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  18. #18
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Hi George,

    I received notification of your "TEST" - Thank you.

    The ultimate proof that it is going to the datbase is when I veiw it at this link

    In terms of setting the form up to save to the database - I believe it should be ok as the link presented above allowed some data.

    If I enter data from my side I get a 40 error.

    Your test worked perfectly.

    Hence my frustration

  19. #19
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Apologies - it should read 404 ERROR and not 40 error

  20. #20
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Form not linking to MySQL database

    Rob,

    If it works for me, it MUST work for you also.

    At which point do you get this error ?
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  21. #21
    Rob (SA)'s Avatar
    Rob (SA) is offline Lieutenant Colonel
    Join Date
    Nov 2006
    Location
    Centurion, South Africa
    Posts
    580

    Default Re: Form not linking to MySQL database

    Hi George,

    I can enter all the data.

    On submit I get the ERROR and nothing goes to the database.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49