Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/05/2008, 23:52
Scarlet_781
 
Fecha de Ingreso: abril-2008
Mensajes: 9
Antigüedad: 16 años
Puntos: 0
Re: Problema con el registro de usuario

<!--******************************* Div para el remember -->
<form action="envia_contrasena.php?idioma=<?php echo $_POST['idioma']; ?>" method="post" name="form2" target="_self" id="form2">
<script>
document.write('<div id="forget" style="position:absolute; width:300; top:350px; left:'+left+'px; visibility:hidden" align="center">');
</script>
<p>&nbsp;</p>
<table style="table-layout:fixed" border="0" class="txt_login">
<tr>
<table style="table-layout:fixed" border="0" class="txt_login">
<tr>
<th width="182" height="37" align="center" ><?php echo $row_objetos['olvidaste']; ?>&nbsp;
</th>

</tr>
</table>
<table style="table-layout:fixed" border="0" class="txt_login">
<tr>
<th align="left" scope="col"><?php echo $row_objetos['email']; ?><input name="email" type="text" class="formulario" id="email" size="27" maxlength="150" /></th>
</tr>
</table>
<table style="table-layout:fixed" border="0" class="txt_login">
<tr>&nbsp;
<th align="center" valign="middle" scope="col"><input name="Submit2" type="submit" class="formulario" value="<?php echo $row_objetos['enviar']; ?>" />
<input name="usuario" type="hidden" id="usuario" value="<?php echo $row_objetos['usuario']; ?>" />
<input name="contrasena" type="hidden" id="contrasena" value="<?php echo $row_objetos['contrasena']; ?>" /></th>
</tr>
</table>
<th width="20" align="left" valign="middle" scope="col">&nbsp;</th>
</tr>
</table>
</div>
</form>
<div align="center">

<form method="post" action="<? echo ($PHP_SELF); ?>">
<table width=277 height="176" border=0 cellpadding=0 cellspacing=0 cols=2>
<tr>
<td width=170 height="37"><strong>
Name:
</strong></td>
<td width=107>
<input type="text" name="uid" size="15">
</td>
</tr>
<tr>
<td width=170 height="41"><strong>
Code Zip:
</strong></td>
<td width=107>
<input type="text" name="pwd" SIZE="15">
</td>
</tr>
tr>
<td width=170 height="39"><strong>
Number of contract:
</strong></td>
<td width=107>
<input type="text" name="uid" size="15">
</td>
</tr>
tr>
<td width=170 height="39"><strong>
E- mail:
</strong></td>
<td width=107>
<input type="text" name="uid" size="15">
</td>
</tr>
<tr>
<td colspan=2 align=center>
<input name="submitregister" type="submit" id="submitregister" value="Send Register">
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
<?php
switch ($_GET['opcion'])
{
case "1": echo '<script>login.style.visibility="visible";forget.s tyle.visibility="hidden"</script>';break;
case "2": echo '<script>login.style.visibility="hidden";forget.st yle.visibility="visible"</script>';break;
case "3": echo '<script>login.style.visibility="hidden";forget.st yle.visibility="visible"</script>';break;
}
mysql_free_result($objetos);
mysql_free_result($princ);
?>

El anterior es el register

De verdad espero me puedas ayudar

GRacias de ante mano