Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
LinkBack Thread Tools
  #1  
Old 05-04-2008, 10:37 PM
Corporal
 
Join Date: Apr 2008
Posts: 18
Smile how do i connect mysql tables to the forms

hi there.
i have a new site : www.godhelpme.org and im trying to create the registration page, post prayer page, etc.. after lots of reading i think i need some php codes to do this. I have tried and successfully installed abvfp but i dont think that's what i need since i have already created mysql tables and the forms.

if anyone could help or show me the way to connect these tables to the forms so these tables get populated. if i can see some sample codes, i appreciate it very much.

i know i would have other issues after this, but this is it for now. Thanks a lot!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 05-05-2008, 12:52 AM
Corporal
 
Join Date: Apr 2008
Posts: 18
Default Re: how do i connect mysql tables to the forms

opps, above sitename is wrong. My sitename is www.godhearme.org. thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 05-05-2008, 08:58 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,830
Default Re: how do i connect mysql tables to the forms

To store info from webforms into a database, you will need not only to set up a database, but also a php script that will receive the info from the form, and will store it in the database.
Now, this is something that you can build, if you have the necessary experiense. However, if you use ABVFP, it is able of doing it automatically for you, so you don't need to write a single line of code, it is as straight as abc.

Since you already have created the forms and you also have installed ABVFP, you only need to set your form action to ABVFP, and setup the forms in the ABVFP control Panel.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 05-05-2008, 09:25 PM
Corporal
 
Join Date: Apr 2008
Posts: 18
Default Re: how do i connect mysql tables to the forms

hi there.
i went to this link:
http://www.godhearme.org/ABVFP/dbts_ABVFP_loggin.php

but it would only allow me to create a predesigned form.
how can i create a form from this tool then?

Also, i'm afraid i mess up the ABVFP folder in the cpanel when I published the indexed page i forgot to change the folder name. before i published the index page, i published the CONTACTFORM sample of abvfp.
it is okay to remove the ABVFP folder, then ftp again without re-installing?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 05-05-2008, 09:34 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,830
Default Re: how do i connect mysql tables to the forms

No, you've got it wrong!

ABVFP does NOT create forms, it processes YOUR forms.

Use the forms you created, set them up in the ABVFP (the link you posted above) and they will automatically worl.

ABVFP simply receives the info from your form, and it emails it to you. as well as storing it in the database.

There is a Word Tutorial in the zip you downloaded, which explains HOW to use ABVFP with your own forms.

If the only problem is that you have published inside the ABVFP folder, there is no problem at all. Do NOT delete the ABVFP folder, or you will need to repeat the entire installation.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 05-05-2008, 09:42 PM
Corporal
 
Join Date: Apr 2008
Posts: 18
Default Re: how do i connect mysql tables to the forms

ok. i will reread the tutorials again, maybe i missed something.
i still cant figure out how the forms i already created link with abvfp.
but i will try again.

the table for thse forms are already created in GHM database not in the abvfp database. should i recreate them there (in abvfp). don't know if there is tool to copy these tables there, is there?
Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 05-05-2008, 09:48 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,830
Default Re: how do i connect mysql tables to the forms

The forms are NOT linked to ABVFP. You need to do that. It is done by setting the form action to be : http://www.yourdomain.com/ABVFP/dbts_abvfp.php

The info willbe stored in the ABVFP database. You do NOT need to copy the tables, ABVFP will automatically create the tables at the first submission.

You do, however, need to set correctly the field names extensions so ABVFP can "understand" what type of field it needs to create.

I.e. the extension -A to a field name, means 30 chrs, -B means 60 chrs, -C 200, -D 500, -E unlimited (actually 64 000 chrs)

Please read the tutorial, it is ALL explained there.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 05-06-2008, 08:15 PM
Corporal
 
Join Date: Apr 2008
Posts: 18
Default Re: how do i connect mysql tables to the forms

Success!
I got the tables populated thru ABVFP.
Thank you very much.

I will continue with the other tables before I post other issues.
There are processes needed on the forms that I may need help later.

Again thanks so much Navaldesign!
i appreciate your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 05-11-2008, 09:32 PM
Corporal
 
Join Date: Apr 2008
Posts: 18
Default Re: how do i connect mysql tables to the forms

Now, this is about displaying information from the database.
I have finished the data capturing forms, database writing and now need to retrieve these data to populate the screen forms.
I read in other postings and if i'm right, it said we need another script to display data.
Please anyone show me sample scripts/codes, sample sites, brief description on how to accomplish this. I appreciate it very much.

I have programming skills, just dont know how to use it here...

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 01:25 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2007 VodaHost.com - All Rights Reserved

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 50 51 52 53