in reply to Re: looking for a good tutorial
in thread looking for a good tutorial

Sorry if it was a little vague. I am going to need to be able to take 3 variables from a db and display them on the web 2 as drop downs and 1 as just plain text. From the web I will need to be able to take 2 varibles from text that someone has writen and store them along with a selection they made back into the same db. does that clear it up at all?

Replies are listed 'Best First'.
Re^3: looking for a good tutorial
by davido (Cardinal) on Feb 23, 2005 at 18:23 UTC

    It clears things up a bit. You want to follow portion of my previous reply that discusses CGI, and the portion that discusses DBI. Basically the param() method of CGI will allow you to pull info from a web form. And DBI facilitates interfacing with your database in a fairly uniform way. You'll connect to the database, prepare a query, execute the query, and print the results as part of the webpage. Upon receiving information from the webpage, you'll prepare an insert, execute the insert, and probably print a confirmation screen.

    Be sure to do the required reading mentioned above, and feel free to ask any specific questions where you need additional clarification.


    Dave