<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td width="24"><img src="menu_files/subheader-left-sword.gif" height="20" width="24"></td>
<td bgcolor="#05374a" width="100%"><span><b class="white">Creacion de cuenta</b></span></td>
<td width="10"><img src="menu_files/subheader-right.gif" height="20" width="10"></td>
</tr>
</tbody></table>
<table style="border: 1px dotted rgb(146, 128, 88);"><tbody><tr><td>
<table style="border: 1px solid black; background-image: url(images/parchment-light3.html);"><tbody><tr><td>
<table border="0" cellpadding="4" cellspacing="0" width="510">
<tbody><tr>
<td colspan="2">
<span><center>
Resultados:</span>
</center> </td>
</tr>
<tr>
<td colspan="2">
<span>
<center><img src="menu_files/hr.gif" height="1" width="450"></center>
</span> </td>
</tr>
<tr>
<td colspan="2" align="center">
<?
$t1 = $_POST['accountname'];
$t2 = $_POST['password'];
$t3 = $_POST['email'];
$t4 = $_POST['tbc'];
if ($t1 <> '') {
$Found = False;
$connection = mssql_connect ($lang['hostname'],$lang['dbaselogin'],$lang['dbasepw']);
if(!$connection) { die(mssql_error()); }
mssql_select_db($lang['dbasename']);
if(!(aqui hay un simbolo arroba sin los parentesis, lo saque por que el sistema re recomose como un correo -.-)mssql_select_db($lang['dbasename'],$connection)) { die(mssql_error()); }
$sql_text = 'SELECT * FROM memb_info';
if ($r = mssql_query($sql_text,$connection)){
while ($row = mssql_fetch_array($r)){
if ($_POST['accountname'] == $row['memb___id']) { echo "<b><br><center>Esta cuenta ya existe<br></b>"; $Found = TRUE; }
}}
if ($Found == False) {
$ip=$_SERVER['REMOTE_ADDR'];
$da=date("Ymd");
$sql_text1 = "INSERT INTO memb_info (memb___id, memb__pwd, mail_addr, credits) VALUES ( '{$t1}', '{$t2}', '{$t3}', '{$t4}')";
mssql_query($sql_text1,$connection) or die(mssql_error());
$message = "Registration succesfull <br><br>";
$message .= "Account Details: <br>";
$message .= "Account name: $t1 <br>";
$message .= "Password : $t2 <br><br>";
$message .= "Installation instructions: <br><br>";
no encuentro lo que esta mal
el modulo trabaja bien hasta Esta cuenta ya existe
pero cuando pruevo ingresar una cuenta que, no existe, no ingresa y solo sale Resultados:
me estoy volviendo loco necesito ayuda pronto