DouglasP 1 Denunciar post Postado Julho 28, 2009 Boa noite, to fazendo um script que insere uns dados no mssql, porem não esta cadastrando os dados. abaixo meu script: $Account = $_REQUEST["account"]; $senha = $_REQUEST["senha"]; $nome = $_REQUEST["nome"]; $email = $_REQUEST["email"]; $vip = $_REQUEST["vip"]; $creditos = $_REQUEST["creditos"]; $gold = $_REQUEST["gold"]; $diasvip = $_REQUEST["diasvip"]; $vencimen = $_REQUEST["vencimen"]; $datavip = $_REQUEST["datavip"]; $conexao_2 = mssql_connect("localhost", "sa", "vps01") or die ("Erro no servidor, tente novamente mais tarde"); mssql_select_db($DB2, $conexao_2) or die ("Erro no servidor, tente novamente mais tarde"); $msquery = "INSERT INTO MEMB_INFO (memb___id, memb__pwd, memb_name, mail_addr, vip, creditos, Gold, diasdevip, vencimento, datavip) VALUES ('$Account', '$senha', '$nome', '$email', '$vip', '$creditos', '$gold', '$diasvip', '$vencimen', '$datavip')"; $msresults= mssql_query($msquery, $conexao_2) or die (mssql_error()); if($msresults) { echo "- Conta migrada com sucesso, clique em continuar<br><br> <table width='50%' border='0'> <tr> <td><input name='continua_2' type='button' id='continua_2' size='14' value='Continuar' /></td> </tr> </table>"; } else { echo "- Erro, tente novamente mais tarde<br>"; } Oque tem de errado? grato. Compartilhar este post Link para o post Compartilhar em outros sites
Matias Rezende 50 Denunciar post Postado Julho 28, 2009 Exibe algum erro? Carlos Eduardo Compartilhar este post Link para o post Compartilhar em outros sites
DouglasP 1 Denunciar post Postado Julho 28, 2009 Ele não da nenhum erro, somente não insere. Compartilhar este post Link para o post Compartilhar em outros sites
DouglasP 1 Denunciar post Postado Julho 29, 2009 Ja resolvi pode fechar. Compartilhar este post Link para o post Compartilhar em outros sites