Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/11/2011, 15:21
Avatar de arcanisgk122
arcanisgk122
 
Fecha de Ingreso: junio-2010
Mensajes: 755
Antigüedad: 14 años, 6 meses
Puntos: 28
Respuesta: update base de datos test pagina

luego de esto vamos código html que utilizo para recoger los datos:

PArte uno


Código HTML:
<form name="form1" method="post" id="form1" action="nchar.php" >
					<table class="t3" align="center">
						<tbody>
							<tr>
								<td colspan="3">
									<span>ATRIBUTOS</span>
								</td>
								<td colspan="6">
									<span>INFORMACIÓN DEL PERSONAJE</span>
								</td>
							</tr>
							<tr>
								<td>
									<label>
										<select id="pfrs" name="pfrs" size="1" onchange="calcula1(this.options.selectedIndex)">
											<option value="5">-50</option>
											<option value="6">-40</option>
											<option value="7">-30</option>
											<option value="8">-20</option>
											<option value="9">-10</option>
											<option value="10" selected="selected">0</option>
											<option value="11">10</option>
											<option value="12">20</option>
											<option value="13">30</option>
											<option value="14">45</option>
											<option value="15">60</option>
											<option value="16">80</option>
											<option value="17">100</option>
											<option value="18">125</option>
											<option value="19">150</option>
											<option value="20">200</option>
										</select>
									</label>
								</td>
								<td>
									<b>
										<span>Fuerza</span>
									</b>
								</td>
								<td>
									<label>
										<input type="text" name="frs" id="frs" value="10" maxlength="3" size="4" disabled="disabled"/>
									</label>
								</td>
								<td colspan="2">
									<b>
										<span>Nombre</span>
									</b>
								</td>
								<td colspan="2">
									<label>
										<input type="text" name="namepj" id="namepj" size="16" maxlength="16"/>
									</label>
								</td>
								<td>
									<b>
										<span>Apellido</span>
									</b>
								</td>
								<td style="width: 165px">
									<label>
										<input type="text" name="apellidopj" id="apellidopj" size="16" maxlength="16"/>
									</label>
								</td>
							</tr>
							<tr>
								<td>
									<label>
										<select id="pdes" name="pdes" size="1" onchange="calcula2(this.options.selectedIndex)">
											<option value="5">-50</option>
											<option value="6">-40</option>
											<option value="7">-30</option>
											<option value="8">-20</option>
											<option value="9">-10</option>
											<option value="10" selected="selected">0</option>
											<option value="11">10</option>
											<option value="12">20</option>
											<option value="13">30</option>
											<option value="14">45</option>
											<option value="15">60</option>
											<option value="16">80</option>
											<option value="17">100</option>
											<option value="18">125</option>
											<option value="19">150</option>
											<option value="20">200</option>
										</select>
									</label>
								</td>
								<td>
								   	<b>
								   		<span>Destreza</span>
								   	</b>
								</td>
								<td>
									<label>
										<input type="text" name="des" id="des" value="10" maxlength="3" size="4" disabled="disabled" onchange="Suma(this.value)"/>
									</label>
								</td>
								<td colspan="2">
								   	<b>
								   		<span>Raza</span>
									</b>
								</td>
								<td colspan="2">
									<label>
										<select id="raza" name="raza" size="1" onchange="redirect(this.options.selectedIndex)">
											<option selected="selected">--Escoja una Raza--</option>
											<option value="001">Humano</option>
											<option value="002">Argonauta</option>
											<option value="003">Enano</option>
											<option value="004">Arunos (Elfo)</option>
										</select>
									</label>
							   	</td>
								<td>
									<b>
										<span>Profesión</span>
									</b>
								</td>
								<td style="width: 165px">
									<label>
										<select id="prof" name="prof" size="1">
											<option selected="selected" value="">--Escoja una Profesión--</option>
											<option value="">Prof. Humanos</option>
											<option value="">Prof. Argonautas</option>
											<option value="">Prof. Enanos</option>
											<option value="">Prof. Arunos(Elfo)</option>
										</select>
									</label>
								</td>
							</tr>
							<tr>
								<td>
									<label>
										<select id="psab" name="psab" size="1" onchange="calcula3(this.options.selectedIndex)">
											<option value="5">-50</option>
											<option value="6">-40</option>
											<option value="7">-30</option>
											<option value="8">-20</option>
											<option value="9">-10</option>
											<option value="10" selected="selected">0</option>
											<option value="11">10</option>
											<option value="12">20</option>
											<option value="13">30</option>
											<option value="14">45</option>
											<option value="15">60</option>
											<option value="16">80</option>
											<option value="17">100</option>
											<option value="18">125</option>
											<option value="19">150</option>
											<option value="20">200</option>
										</select>
									</label>
								</td>
								<td>
									<b>
										<span>Saber</span>
									</b>
								</td>
								<td>
									<label>
										<input type="text" name="sab" id="sab" value="10" maxlength="3" size="4" disabled="disabled" onchange="Suma(this.value)"/>
									</label>
								</td>
								<td>
									<b>
										<span>Sexo</span>
									</b>
								</td>
								<td>
									<label>
										<select name="sexo" id="sexo">
											<option selected="selected" value="1">Hombre</option>
											<option value="2">Mujer</option>
										</select>
									</label>
								</td>
								<td>
									<b>
										<span>Edad</span>
									</b>
								</td> 
__________________
Cooler Master Gladiator 600 - AMD PHENOM II X4 955 @ 3.5GHZ
GA-MA78GM-US2H - Super Talent 800 2GB x 2 Dual, (Unganged)
PSU Cooler Master eXtreme Power Plus 500W - Saphire R7-260OC-2GB