473,385 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

employee form

<html>
<body bgcolor="yellow">
<br><br>
<center>EMPLOYEE FORM</center><br><br><br><br>

<form name="uploadForm" action="./Form" enctype="multipart/form-data" method="POST">
<center>
Name&nbsp&nbsp&nbsp&nbsp&n
bsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&n bsp&nbsp
FirstName&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&n
bsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&n
bsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&n bsp&nbsp
MiddleName&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nb
sp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nb sp&nbsp&nbsp
LastName&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&
nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<br><br>

<select name=s>
<option>select</option>
<option>Mr</option>
<option>Mrs</option>
<option>Miss</option>
</select>&nbsp&nbsp&nbsp

<input type=text name="t1">&nbsp&nbsp&nbsp&nbsp

<input type=text name="t2">&nbsp&nbsp&nbsp&nbsp

<input type=text name="t3"><br><br>

Gender&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbs p&nbsp

<input type=radio name="r1" value="female">&nbsp&nbsp

Female&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&
nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp

<input type=radio name="r1" value="male">&nbsp&nbsp
Male&nbsp&nbsp<br><br>
Designation&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbs p&nbsp

<select name="s1">
<option>select</option>
<option>Supervisor</option>
<option>Assistant supervisor</option>
<option>HOD</option>
</select><br><br>
Do You Like&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp

<select name="s2">
<option>select</option>
<option>cricket</option>
<option>chess</option>
<option>rugby</option>
<option>shuttle</option>
</select><br><br>

Are You Government Employee &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&n bsp

<input type=radio name="r2" value="yes">&nbsp&nbsp
Yes&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp

<input type=radio name="r2" value="no">&nbsp&nbsp
No&nbsp&nbsp&nbsp<br><br>

Remarks&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp

<textarea name=ta size=6></textarea><br><br>

File UPload &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp

<input type=file name="t4"><br><br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&n bsp
Send Mail&nbsp&nbsp&nbsp&nbsp
<textarea name="t5"></textarea>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
&nbsp&nbsp<br><br><br><br>


<center>
<input type="submit" value="Insert">&nbsp&nbsp&nbsp&nbsp;&nbsp;&nbsp;&n bsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" value="Delete">&nbsp&nbsp&nbsp&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;
&nbsp;&nbsp;&nbsp;
<input type="submit" value="update">&nbsp&nbsp&nbsp&nbsp&nbsp;&nbsp;&nb sp;&nbsp;
</center>
</center>
</form>
</body>
</html>

I am sending a html form.in this there is insert button,delete button,update button.for these buttons i want php code that to connect with postgresql tables.
Nov 14 '06 #1
2 4166
ronverdonk
4,258 Expert 4TB
I hope you don't really want anyone to read this messed up code. Just read the Posting Guidelines before you show any code here. And take special note of the part stating that you must enclose code within php, code or html tags!

Ronald :cool:
Nov 14 '06 #2
cassbiz
202 100+
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <body bgcolor="yellow">
  3. <br><br>
  4. <center>EMPLOYEE  FORM</center><br><br><br><br>
  5.  
  6. <form name="uploadForm"  action="./Form" enctype="multipart/form-data" method="POST">
  7. <center>
  8. Name&nbsp&nbsp&nbsp&nbsp&n
  9. bsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  10. FirstName&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&n
  11. bsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&n
  12. bsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  13. MiddleName&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nb
  14. sp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  15. LastName&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&
  16. nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<br><br>
  17.  
  18. <select name=s>
  19.          <option>select</option>
  20.          <option>Mr</option>
  21.          <option>Mrs</option>
  22.          <option>Miss</option>
  23.  </select>&nbsp&nbsp&nbsp
  24.  
  25. <input type=text name="t1">&nbsp&nbsp&nbsp&nbsp
  26.  
  27.  <input type=text name="t2">&nbsp&nbsp&nbsp&nbsp
  28.  
  29.  <input type=text name="t3"><br><br>
  30.  
  31. Gender&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  32.  
  33. <input type=radio name="r1" value="female">&nbsp&nbsp
  34.  
  35. Female&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&
  36. nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  37.  
  38. <input type=radio name="r1" value="male">&nbsp&nbsp
  39. Male&nbsp&nbsp<br><br>
  40. Designation&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  41.  
  42. <select name="s1">
  43.   <option>select</option> 
  44.   <option>Supervisor</option>
  45.   <option>Assistant supervisor</option>
  46.   <option>HOD</option>
  47. </select><br><br>
  48. Do You Like&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  49.  
  50. <select name="s2">
  51.        <option>select</option>
  52.        <option>cricket</option>
  53.        <option>chess</option>
  54.        <option>rugby</option>
  55.        <option>shuttle</option>
  56. </select><br><br>
  57.  
  58. Are You Government Employee &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  59.  
  60. <input type=radio name="r2" value="yes">&nbsp&nbsp
  61. Yes&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  62.  
  63. <input type=radio name="r2" value="no">&nbsp&nbsp
  64. No&nbsp&nbsp&nbsp<br><br>
  65.  
  66. Remarks&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  67.  
  68. <textarea name=ta size=6></textarea><br><br>
  69.  
  70. File UPload  &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  71.  
  72. <input type=file name="t4"><br><br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  73. Send Mail&nbsp&nbsp&nbsp&nbsp
  74. <textarea name="t5"></textarea>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
  75. &nbsp&nbsp<br><br><br><br>
  76.  
  77.  
  78. <center>
  79. <input type="submit" value="Insert">&nbsp&nbsp&nbsp&nbsp;&nbsp;&nbsp;&nbsp;
  80. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  81. <input type="submit" value="Delete">&nbsp&nbsp&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  82. &nbsp;&nbsp;&nbsp;
  83. <input type="submit" value="update">&nbsp&nbsp&nbsp&nbsp&nbsp;&nbsp;&nbsp;&nbsp;
  84. </center>
  85. </center>
  86. </form>
  87. </body>
  88. </html>
  89.  
I am sending a html form.in this there is insert button,delete button,update button.for these buttons i want php code that to connect with postgresql tables.

First of all there are numerous errors in your html - not the point. There are many pre-made forms that you can download from PHP Resouce Index. There are also some good tutorials right here which can help you get it all setup.
Nov 14 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Daniel Hidalgo | last post by:
Hi, I have an issue that I am trying to resolve. I am populating a list box with employee names and would like to have the capability for a user to open an employee record by double clicking on...
1
by: mpmason14 | last post by:
i want to update my "timesheet" form based upon a second form "add employee" whenever a new employee is added. right now the "add employee" form adds the employee to the table, but it doesn't update...
1
by: ramaswamynanda | last post by:
Hello, I am working on an application in MS Access. I have an employee form with an employee charges subform. the subform is supposed to be displayed in the datasheet view. I have put the labels...
1
by: qiux | last post by:
hi i am a newbie here. kindly need your help for VB NET issue. my problem is i want only one form run in runtime. case: i have a mdiform which got a lot menu, eg. File - Open - Employee and File -...
0
by: LukasMalik | last post by:
Hi all, I have MDI form with lot of child forms. I have toolStrip in MDI parent form with buttons such as new/open/save/delete. I have 2 types of child form - detail & viewer. Detail contains...
3
by: Ronald S. Cook | last post by:
For all those anti-Hungarian notation people out there, how would you name an employee first name label and textbox on an create/modify employee form, respectively (please)? Thanks, Ron
3
mseo
by: mseo | last post by:
this is the code for developing a form for adding employees where you can find three fields in the table employees (firstname, middlename, lastname, hiredate (Is Not Null) and ADezii prompt me to...
2
by: eko99312 | last post by:
Let's say I have this form called Attendance List. The list was in datasheet form. In the list there were names and date checklist. The question is, I want to edit one of the names by double clicking...
17
by: lee weaver | last post by:
I have a form to edit employee data that is a copy of the add employee form ( Which works great) with a list box at the top to select the employee to edit that is susposed to navigate to the correct...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.