HTML - Conectar formulario con php

 
Vista:
sin imagen de perfil

Conectar formulario con php

Publicado por Lusbyn Morales (2 intervenciones) el 08/10/2014 19:57:03
Buenas tardes amigos.

Quisiera saber quien me ayuda para realizar la conexión de un formulario con php, realmente no manejo aun muy bien ese lenguaje.

Quien pueda ayudarme estare agradecido.

Aqui el codigo HTML:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<HTML>
<HEAD><TITLE>Solicitud de Información</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<STYLE>
 BODY {
 scrollbar-face-color:#009900;
scrollbar-highlight-color:black; scrollbar-3dlight-color:blue;
scrollbar-darkshadow-color:black; scrollbar-shadow-color:white;
scrollbar-arrow-color:white; scrollbar-track-color:#009900;     
color : black;
font-size : 12pt;}
</STYLE></HEAD>
<h3 align="center">  <font color="black" size="5">* * Solicitud de Información al CECOM * *</font> </h3>
<BODY BGCOLOR=white>
 
 
 
<form action="mailto:correo@ejemplo.com" method="post" enctype="text/plain">
</br>
 
<table BORDER align="center">
<tr>
	<th>Solicitud Nº:</th>
</tr>
<tr>
	<td><input type="text" name="Empresa" size="10" maxlength="10" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></td>
<tr>
 
</table>
</br>
<table BORDER align="center">
<tr>
	<th COLSPAN=2>DATOS DEL SOLICITANTE</th>
<tr>
<tr>
	<th>Seleccione</th> <th>Si es externo, indique.</th>
</tr>
<tr>
	<td><div align="center">
            <input type="radio" name="personal" value="Interno">Interno
            <input type="radio" name="Personal" value="Externo" >Externo
 
        </div>
        </div></td> <td><input type="text" name="Empresa" size="50" maxlength="70" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;">
</tr>
</table>
 
 
<table BORDER align="center">
<TR>
		<TH>Nombre y Apellido:</TH> <TH>C.I.:</TH>
	</TR>
	<TR>
		<TD><input type="text" name="Nombre" size="50" maxlength="70" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></TD> <TD><input type="text" name="CI." value="v-" size="50" maxlength="70" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></TD>
	</TR>
 
	<th>Sucursal</th> <th> Área </th>
</tr>
<tr>
	<td><input type="text" name="Sucursal" size="50" maxlength="70" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></td> <td><input type="text" name="Área" size="50" maxlength="70" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></td>
</tr>
<tr>
	<th>Cargo</th> <th>Teléfono </th>
</tr>
<tr>
	<td><input type="text" name="Cargo" size="50" maxlength="70" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></td> <td><input type="text" name="Teléfono" value="-" size="50" maxlength="70" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></td>
</tr>
 
 
</table>
 
 
<table BORDER align="center">
<tr>
	<th colspan=2>DATOS DE LA INFORMACIÓN SOLICITADA</TH>
</tr>
 
<tr>
	<th>Ubicación de la incidencia</th> <th>Fecha</th>
</tr>
 
<tr>
	<td><input type="text" name="Ubicación" size="50" maxlength="70" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"> <td><input type="text" name="Fecha" size="50" maxlength="70" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;">
</tr>
</br>
<tr>
	<th colspan=2> OBSERVACIONES Y/O COMENTARIOS</th>
</tr>
	<td colspan=2><textarea cols="82" rows="5" name="Comentarios" style="background: aqua;border:1px solid gold;color:black; font-size: 15px;font-weight:bold;"></textarea></td>
</tr>
 
</table>
</br>
 
<table BORDER align="center">
<tr>
	<th colspan=3">CAMPOS PARA SER LLENADOS UNICAMENTE POR EL DPTO. DE PREVENCIÓN Y CONTROL</th>
</tr>
<tr>
	<th>Aprobado por:</th> <th>Cargo</th> <th>Fecha</th>
</tr>
<tr>
	<td><input type="text" name="Aprobado por" size="20" maxlength="40" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></td>	<td><input type="text" name="Cargo" size="70" maxlength="40" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></td>	<td><input type="text" name="Fecha" size="50" maxlength="40" style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></td>
</tr>

</table>

<table BORDER align="center">
<tr>
	<th>Quien autoriza</th> <th>Quien genera</th>
</tr>
<tr>
	<td><input type="text" name="Autorizado por" size="20" maxlength="40" value =" " style="background: aqua;border:1px solid gold;color:black;font-weight:bold;"></td>	<td><div>
            Quien genera:
            <select name="Quien genera" style="background:aqua">
                <option selected>Selecciona</option>
                <option>Nombre 1</option>
                <option>Nombre 2</option>
               </select>
        </div></td>
</tr>


</table>
</br>

<h3>NOTA: La empresa no se hace responsable por el uso que el solicitante le de a la información suministrada.</h3>

<table align="center">
<tr>
<td><input type="submit" align="center" value="Enviar" style="background: aqua;border: 1px solid lime;color:#006600;font-weight:bold;"> </td> <td><input type="Reset" align="center" value="Borrar todo" style="background: aqua;border:1px solid lime;color:#006600;font-weight:bold;"> </td>
</tr><tr>
 
 
 
</table>
</form>
 
 
</br>
</br>
 
<table BORDER align="center">
<tr>
 
	<td><div id="footer" align="center"><b>copyright &copy; 2014 VicePresidencia de Riesgos : Departamento de Prevención y Control. </b> </div></td>
</tr>
 
</table>
 
</BODY>
</HTML>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de xve
Val: 1.144
Oro
Ha mantenido su posición en HTML (en relación al último mes)
Gráfica de HTML

Conectar formulario con php

Publicado por xve (1543 intervenciones) el 08/10/2014 21:18:35
Hola Lusbyn, es esta misma página hay ejemplos de como utilizar formulario con PHP...

Revisa este código, veras como hacerlo: http://lwp-l.com/s2284

Cualquier duda...
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

Conectar formulario con php

Publicado por Lusbyn Morales (2 intervenciones) el 08/10/2014 22:36:42
Ok gracias amigo, lo reviso y te aviso.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar