Skip site navigation (1) Skip section navigation (2)

Transfer data from webpage form to database

From: "Pete(dot)(dot)(dot)(dot)(dot)" <helten0007(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Transfer data from webpage form to database
Date: 2004-11-23 17:03:35
Message-ID: 41a36d37$0$23050$ (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Hi all.
I have made a webpage where there is a webform where people can fill in
their personel information:

The code is below:

I want to transfer the data to a postgreSQL database ( I have allready made
the database with the neccesary tables, and I know how to connect to it )
but I really have no idea how I can transfer the data from the webform to
the database.

If any can help me I will be more than pleased... thanks for your help...
BTW the only programming language that I know is Python :D



<title> Adminperson </title>


<body bgcolor="#0479ff">

<h1><p align="center">Insert Person</h1></p>


<form action="default.asp" method="post">
<p>Name:<br><input type="text" name="name"></p>
<p>Surname:<br><input type="text" name="surnavn"></p>
<p>Username:<br><input type="text" name="usernavn"></p>
<p>Password:<br><input type="text" name="password"></p>
<p>Adresse:<br><input type="text" name="adresse"></p>
<p>Zipcode:<br><input type="text" name="zipcode"></p>
<p>City:<br><input type="text" name="city"></p>
<p>Phone:<br><input type="text" name="phone"></p
<p>Mail:<br><input type="text" name="mail"></p>

<p> What is your profession? <p>
<INPUT TYPE=CHECKBOX NAME="Profession" VALUE="Teacher Assistent" CHECKED>
Teacher Assistent
<p><input type="submit" value="Submit"></p>
</body> </html>

pgsql-admin by date

Next:From: Roderick A. AndersonDate: 2004-11-23 17:03:57
Subject: joins INNER, OUTER, LEFT, RIGHT, FULL, ...
Previous:From: Tsirkin EvgenyDate: 2004-11-23 15:02:23
Subject: Re: How to Restore a Database pg_dump - Help - S.O.S.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group