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$ba624c82@nntp05.dk.telia.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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
<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>
From | Date | Subject | |
---|---|---|---|
Next Message | Roderick A. Anderson | 2004-11-23 17:03:57 | joins INNER, OUTER, LEFT, RIGHT, FULL, ... |
Previous Message | Tsirkin Evgeny | 2004-11-23 15:02:23 | Re: How to Restore a Database pg_dump - Help - S.O.S. |