pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pete..... <helten0007@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Transfer data from webpage form to database
Date: Tue, 23 Nov 2004 18:03:35 +0100
Message-ID: <41a36d37$0$23050$ba624c82@nntp05.dk.telia.net> (raw)

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

<html>

<head>

<title> Adminperson </title>

</head>

<body bgcolor="#0479ff">

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

<hr>

<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="Student" CHECKED> Student
<INPUT TYPE=CHECKBOX NAME="Profession" VALUE="Teacher" CHECKED> Teacher
<INPUT TYPE=CHECKBOX NAME="Profession" VALUE="Teacher Assistent" CHECKED>
Teacher Assistent
<p><input type="submit" value="Submit"></p>
</body> </html>








Message-ID: <41a36d37$0$23050$ba624c82@nntp05.dk.telia.net>
Permalink:  ../41a36d37$0$23050$ba624c82@nntp05.dk.telia.net/
Also on:    postgresql.org/message-id/41a36d37$0$23050$ba624c82@nntp05.dk.telia.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: helten0007@yahoo.com
  Subject: Re: Transfer data from webpage form to database
  In-Reply-To: <41a36d37$0$23050$ba624c82@nntp05.dk.telia.net>
  References: <41a36d37$0$23050$ba624c82@nntp05.dk.telia.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox