Forums

How to send form data to mysql database?

upcsadmin 06 Oct, 2007
Maybe this is to basic of a question, but I'm trying to send form data to mysql database and display a confirmation page with the entered data.

Any help is appreciated.

p.s. the component seems easy to use, but i dont have any clue as to what goes in each of the field on the backend for each form.
Max_admin 06 Oct, 2007
Hi Upcsadmin,

Sorry but you mean storing form data when you say :"send form data to mysql database" ?

If yes then this is very simple, at the form manager, check teh form you wanna get data stored for then click on "create table" on the top right, choose your fields to be stored then hit "create table" at the bottom🙂

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 07 Oct, 2007
Hi upcsadmin,

Max has said how to add data to the database, the other part of tyour question is showing a confirmation page. Please have a look at this FAQ which will give you the outline of what you need.

Bob<br><br>Post edited by: GreyHead, at: 2007/10/07 14:00
rblom 06 Dec, 2007
Is there also an easy way to make the entered data visible for other users of the website?

Tnx,

Rob
GreyHead 06 Dec, 2007
Hi Rob,

Yes you can - but you have to write the code to make it happen. There are a couple of recent examples in the forum here that show how it can be done. When I have a moment I'll put them into a little FAQ or tutorial.

Basically you need to access the database for the form, pull out the data you want, then write some kind of code loop to write it to the screen, probably as a table.

Bob
This topic is locked and no more replies can be posted.