05/08/2009, 12:13
|
| | Fecha de Ingreso: diciembre-2008
Mensajes: 805
Antigüedad: 15 años, 11 meses Puntos: 20 | |
Respuesta: Php y JS aca pongo el codigo
<form name="frmdatos" method="POST">
<table align="center" >
<tr>
<td align="center"><h1>ALTA DE STOCK</h1></td>
</tr>
</table>
<table border="1" width="1">
<tr>
<td align="center"><b>Fecha</b></td>
<td align="center"><b>Codigo</b></td>
<td align="center"><b>Detalle</b></td>
<td align="center"><b>32</b></td>
<td align="center"><b>34</b></td>
<td align="center"><b>35</b></td>
<td align="center"><b>36</b></td>
<td align="center"><b>37</b></td>
<td align="center"><b>38</b></td>
<td align="center"><b>39</b></td>
<td align="center"><b>40</b></td><br>
<td align="center"><b>41</b></td>
<td align="center"><b>42</b></td>
<td align="center"><b>44</b></td>
<td align="center"><b>46</b></td>
<td align="center"><b>48</b></td>
<td align="center"><b>50</b></td>
<td align="center"><b>52</b></td>
<td align="center"><b>54</b></td>
<td align="center"><b>56</b></td>
<td align="center"><b>Precio costo U.</b></td>
<td align="center"><b>Precio costo Cur</b></td>
<td align="center"><b>Cantidad</b></td>
<td align="center"><b>Precio vta U.</b></td>
<td align="center"><b>Precio vta Cur</b></td>
</tr>
<tr>
<td><input name="txtfec" type="text" size="2" maxlength="10"></td>
<td><input name="txtcod" type="text" size="2" maxlength="6"></td>
<td><input name="txtcant" type="text" size="2" maxlength="4" ></td>
<td><input name="txtdeta" type="text" size="2" maxlength="50"></td>
<td><input name="txttalle32" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle34" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle35" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle36" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle37" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle38" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle39" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle40" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle41" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle42" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle44" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle46" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle48" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle50" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle52" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle54" type="text" size="2" maxlength="2"></td>
<td><input name="txttalle56" type="text" size="2" maxlength="2"></td>
<td><input name="nose" type="text" size="2" maxlength="2"></td>
<td><input name="can" size="2" maxlength="2" onblur="hacer_bucle()" </td>
<td><input name="txtprecio_u" type="text" size="2" maxlength="5" onBlur="calculo ()"></td>
<td><input name="txtprecio_t" size="2" id="txtprecio_t" type="" disabled="disabled" > </td>
</tr>
</form>
</table>
<table>
<tr>
<input type="button" value="Enviar" id="cmdenviar" name="cmdenviar" onClick="enviar()" tabindex="18">
</tr>
</table>
</body>
</html>
lo que quiero es hacer dos cosas primero, donde dice cantidad poner un numero X y que me genere esa cantidad de registros y segundo pasar todos esos registro a php para darle de alta en mi bd. Muchas gracias por la ayuda se lo agradezco |