By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

php adodb data entry form question

P: n/a
hi all,

i'm new to using php, adodb and pgsql. i have a need to enter data
into a database.

however, i can't find a web example or tutorial that explains the nuts
and bolts of how this is done.

in general terms, does it go like this...

1. create form on first web page.
2. send form to a 2nd web page via the form's method and action
propertise (and submit button).
3. put php the same 2nd web page so that variables are taken from the
entry form page and use adodb to perform the insert into the database.
4. have the 2nd web page send the user back to a third page confirming
their data entry and offering them the opportunity to add more data.

is this correct? what is the best way to do this?

are there any web tutorials or examples of the whole process at work?
your help is very much appreciated.

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"skeeterbug" <js******@san.rr.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
hi all,

i'm new to using php, adodb and pgsql. i have a need to enter data
into a database.

however, i can't find a web example or tutorial that explains the nuts
and bolts of how this is done.

in general terms, does it go like this...

1. create form on first web page.
2. send form to a 2nd web page via the form's method and action
propertise (and submit button).
3. put php the same 2nd web page so that variables are taken from the
entry form page and use adodb to perform the insert into the database.
4. have the 2nd web page send the user back to a third page confirming
their data entry and offering them the opportunity to add more data.

is this correct? what is the best way to do this?

are there any web tutorials or examples of the whole process at work?
your help is very much appreciated.


Unfortunately the net is dominated by MySQL + PHP tutorials, which is a
shame as in a lot of important respects MySQL sucks[1].

Using ADODB for postgresql should be the same as using MySQL except for the
initialisation of the connection to the database, and the use of on inbuilt
commands supported by the different RDMS.

Reading http://phplens.com/lens/adodb/tips_portable_sql.htm should help you
uncover various tips on how to handle obvious differences.

I strongly suspect that in order to get started you are going to have to
read the various MySQL+php tutorials and literally translate them yourself.

[1] to be rectified in version 5.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.