Fernando Pais Postado Novembro 8, 2008 Denunciar Share Postado Novembro 8, 2008 tenho um formulario aonde os vendedores digita os pedidos e envia por e-mail para mim.esses dados digitados pelos vendedores, gostaria de gravar em mysqlquando ele clicar em enviar automaticamente envia e grava no banco de dadosobrigado pela ajudaT+ abaixo a minha tabela <html><table border="0" cellpadding="4" cellspacing="0"> <tr> <td><b>Nome Completo:</td> <td><input name="Nome" type="text" id="Nome" size="50" maxlength="255"> </td> </tr> <tr> <td> <b>Endereço:</td> <td><input type="text" name="endereço" size="40" maxlength="2"> <b>Nº : <input type="text" name="numero" maxlength="6" size="10"> </td> </tr> <tr> <td> <b>Bairro:</td> <td><input type="text" name="bairro" maxlength="30" size="30"> <b>Cidade: <input type="text" name="cidade" maxlength="30" size="20"> <b>Estado: <input type="text" name="estado" maxlength="20" size="20"> </td> </tr> <tr> <td> <b>Fone:</td> <td><input type="text" name="fone" maxlength="15" size="15"> <b>Condições: <input type="text" name="condicao" maxlength="15" size="15"> <b>Prazo de Entrega: <input type="text" name="prazo" maxlength="15" size="15"> </td> </tr></td> </tr> <tr> <td> <b>CNPJ:</td> <td><input type="text" name="cnpj" size="15" maxlength="18"> <b>Inscrição: <input type="text" name="inscricao" maxlength="30" size="20"> <b>Cep: <input type="text" name="cep" maxlength="15" size="20"> </td> </tr> </table><br><center><table border="2"><tr><th>Qtde.</th><th>Ordem</th><th>Un</th><th>P</th><th>M</th><th>G</th><th>GG</th><th>XGG</th><th>1</th><th>2</th><th>3</th><th>4</th><th>6</th><th>8</th><th>10</th><th>12</th><th>14</th><th>16</th><th>Preço</th><th>Preço Total</th></tr><tr></center><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr><tr><td><center><input type="text" name="qtde" id="qtde" value="" size="1" maxlength="5" /></center></td><td><center><input type="text" name="ordem" id="ordem" value="" size="4" maxlength="8" /></center></td><td><center><input type="text" name="unico" id="unico" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="p" id="p" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="m" id="m" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="g" id="g" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="gg" id="gg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="xgg" id="xgg" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="1" id="1" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="2" id="2" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="3" id="3" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="4" id="4" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="6" id="6" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="8" id="8" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="10" id="10" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="12" id="12" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="14" id="14" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="16" id="16" value="" size="1" maxlength="3" /></center></td><td><center><input type="text" name="preço" id="preço" value="" size="5" maxlength="10" /></center></td><td><center><input type="text" name="preço total" id="preço total" value="" size="6" maxlength="10" /></center></td></tr></table>[/codebox] Citar Link para o comentário Compartilhar em outros sites More sharing options...
0 Norivan Oliveira Postado Novembro 8, 2008 Denunciar Share Postado Novembro 8, 2008 Para enviar os dados por email você pega eles em um $_POST['dado'] ou $_GET['dado'] certo?Após isso você joga dentro da função mail() ou outra função que esteja usando certo?Para inserir no banco você vai fazer o mesmo só que invés de assar os dados para função mail() você vai passar elas para dentro de uma querymysql_query("INSERT INTO emails (email, assunto, msg) VALUES ('$email', '$assunto', '$msg')") Citar Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
Fernando Pais
tenho um formulario aonde os vendedores digita os pedidos e envia por e-mail para mim.
esses dados digitados pelos vendedores, gostaria de gravar em mysql
quando ele clicar em enviar automaticamente envia e grava no banco de dados
obrigado pela ajuda
T+
abaixo a minha tabela
Link para o comentário
Compartilhar em outros sites
1 resposta a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.