Foros del Web » Programando para Internet » PHP »

En mi proyecto no funciona

Estas en el tema de En mi proyecto no funciona en el foro de PHP en Foros del Web. Estuve mirando este ejemplo: http://www.desarrolloweb.com/articul...-mootools.html El problema es que he realizado el ejemplo tal cual se muestra y funciona pero cuando adapto mi formulario éste ...
  #1 (permalink)  
Antiguo 10/02/2011, 06:52
Avatar de jimadri  
Fecha de Ingreso: julio-2006
Ubicación: Buenos Aires
Mensajes: 487
Antigüedad: 17 años, 10 meses
Puntos: 1
En mi proyecto no funciona

Estuve mirando este ejemplo:

http://www.desarrolloweb.com/articul...-mootools.html

El problema es que he realizado el ejemplo tal cual se muestra y funciona pero cuando adapto mi formulario éste no funciona. Que está mal?

Código PHP:
       <table width="200" border="0">
            <tr>
              <td><img src="img/titulo_usuario_perfil.jpg" width="566" height="87" /></td>
            </tr>
            <tr>
              <td><span class="texto_general">Los siguientes datos se encuentran cargados en tu perfil. Si notas que la información volvada es erronea puedes comunicarselo a la <strong>Oficina de Recursos Humanos</strong> por medio de este <a href="../rrhh/contacto_rrhh.php" class="LUIS">link.</a> </span>
                <form name="form1" method="post" action="../home - copia/proceso_perfil.php">
                  <br />
  <br />
  <div align="center">
                    <table width="514" border="0">
                      <tr>
                        <td height="30" colspan="5" bgcolor="#F7F7F7"><span class="textoForms"><strong>Apellido
                        </strong>
                          </span>
                          <input name="apellido" type="text" class="textoForms" id="apellido" value="<?php echo $myrow['apellido']; ?>" size="35" />
                        <span class="textoForms"><strong>Nombre </strong> </span>                          <input name="nombre" type="text" class="textoForms" id="nombre" value="<?php echo $myrow['nombre']; ?>" /></td>
                      </tr>
                      <tr>
                        <td height="30" colspan="5"><span class="textoForms"><strong>Tipo
                        </strong>
                        </span>
                          <input name="tipo_doc" type="text" class="textoForms" id="tipo_doc" value="<?php echo $myrow['tipo_doc']; ?>" size="5" maxlength="8" />
                           <span class="textoForms"><strong>Número </strong>
                           </span>
                          <input name="dni" type="text" class="textoForms" id="dni" value="<?php echo $myrow['dni']; ?>" size="8" /> 
                            | <span class="textoForms"><strong>CUIL </strong></span>
                          <input name="pre_cuil" type="text" class="textoForms" id="pre_cuil" value="<?php echo $myrow['pre_cuil']; ?>" size="2" maxlength="2" />
                            - 
                            <input name="cuil" type="text" class="textoForms" id="cuil" value="<?php echo $myrow['cuil']; ?>" size="10" maxlength="8" /> 
                            - 
                            <input name="post_cuil" type="text" class="textoForms" id="post_cuil" value="<?php echo $myrow['post_cuil']; ?>" size="2" maxlength="4" /></td>
                      </tr>
                      <tr>
                        <td height="30" colspan="5" bgcolor="#F7F7F7"><span class="textoForms"><strong>Domicilio
                        </strong>
                          </span>
                          <input name="domicilio" type="text" class="textoForms" id="domicilio" value="<?php echo $myrow['domicilio']; ?>" />
                          <span class="textoForms"><strong>N° </strong>
                          </span>
                          <input name="num_domicilio" type="text" class="textoForms" id="num_domicilio" value="<?php echo $myrow['num_domicilio']; ?>" size="8" maxlength="8" />
                        <span class="textoForms"><strong>Código Postal</strong> </span>                          <input name="zip_code" type="text" class="textoForms" id="zip_code" value="<?php echo $myrow['zipcode']; ?>" size="8" maxlength="8" /></td>
                      </tr>
                      <tr>
                        <td height="30" colspan="5" bgcolor="#FFFFFF"><span class="textoForms"><strong>Teléfono Fijo
                        </strong>
                          </span>
                          <input name="tel_fijo" type="text" class="textoForms" id="tel_fijo" value="<?php echo $myrow['tel_fijo']; ?>" /> 
                        | <span class="textoForms"><strong>Teléfono Móvil</strong> </span>                        <input name="tel_movil" type="text" class="textoForms" id="tel_movil" value="<?php echo $myrow['tel_movil']; ?>" /></td>
                      </tr>
                      <tr>
                        <td width="130" height="30">&nbsp;</td>
                        <td width="374" height="30" colspan="4">&nbsp;</td>
                      </tr>
                      <tr>
                        <td height="30" colspan="5" bgcolor="#F7F7F7"><span class="subtitulos_circuitos"><strong>Medios electrónicos de contact</strong></span><strong>o</strong></td>
                      </tr>
                      <tr>
                        <td height="30" class="textoForms"><strong>Correo Electrónico</strong></td>
                        <td height="30" colspan="4"><input name="email" type="text" class="textoForms" id="email" value="<?php echo $myrow['email']; ?>" size="30"></td>
                      </tr>
                      <tr>
                        <td height="30" bgcolor="#F7F7F7" class="textoForms"><strong>MSN</strong></td>
                        <td height="30" colspan="4" bgcolor="#F7F7F7"><input name="msn" type="text" class="textoForms" id="msn" value="<?php echo $myrow['msn']; ?>" size="30"></td>
                      </tr>
                      <tr>
                        <td height="30" class="textoForms"><strong>SKYPE</strong></td>
                        <td height="30" colspan="4"><input name="skype" type="text" class="textoForms" id="skype" value="<?php echo $myrow['skype']; ?>" size="30"></td>
                      </tr>
                      <tr>
                        <td height="30" bgcolor="#F7F7F7" class="textoForms"><strong>FACEBOOK</strong></td>
                        <td height="30" colspan="4" bgcolor="#F7F7F7"><input name="facebook" type="text" class="textoForms" id="facebook" value="<?php echo $myrow['facebook']; ?>" size="30"></td>
                      </tr>
                      <tr>
                        <td height="30" colspan="5" bgcolor="#FFFFFF"><div align="center">
                          <input type="submit" name="btn_update_perfil" id="btn_update_perfil" value="Actualizar" />
                        </div></td>
                      </tr>
                      <tr>
                        <td colspan="5" bgcolor="#FFFFFF">&nbsp;</td>
                      </tr>
  </table>
                  </div>
</form>
  <p class="texto_general">Si querés cambiar tu contraseña, completá los dos campos necesarios para cambiarla. Sino dejalos en blanco. La contraseña debe tener entre 6 y 10 caracteres. <br />
  </p>
  <form name="form2" method="post" action="../home-copia/cambio_pass.php">
    <div align="center">
      <table width="431" border="0">
        <tr>
          <td width="178" height="30" bgcolor="#F7F7F7" class="textoForms"><strong>Nick</strong></td>
          <td width="237" height="30" bgcolor="#F7F7F7"><input type="text" name="nick" id="nick" value="<?php echo $myrow['nick']; ?>"></td>
          </tr>
        <tr>
          <td height="30" bgcolor="#FFFFFF" class="textoForms"><strong>Contraseña</strong></td>
          <td height="30" bgcolor="#FFFFFF"><input type="password" name="pass" id="pass" value="<?php echo $myrow['password']; ?>"></td>
          </tr>
        <tr>
          <td height="30" bgcolor="#F7F7F7" class="textoForms"><strong>Cambiar Contraseña</strong></td>
          <td height="30" bgcolor="#F7F7F7"><input type="password" name="clave" id="clave"> <script> 
window.addEvent("domready", function(){
    var miValidadorClave = new ValidadorClave("clave");
});
</script></td>
          </tr>
        <tr>
          <td height="30" class="textoForms"><strong>Repetir Contraseña</strong></td>
          <td height="30"><input type="password" name="pass_repeat" id="pass_repeat"></td>
          </tr>
        <tr>
          <td height="36" colspan="2"><div align="center">
            <input type="submit" name="btn_update_pass" id="btn_update_pass" value="Actualizar">
            <input name="id_user" type="hidden" id="id_user" value="<?php echo $myrow['ID_USUARIO']; ?>" />
          </div>
          </td>
          </tr>
      </table>
    </div>
  </form>

<p>&nbsp;</p>
<p>&nbsp;</p>
</td>
            </tr>
          </table>
  #2 (permalink)  
Antiguo 10/02/2011, 06:54
Avatar de jimadri  
Fecha de Ingreso: julio-2006
Ubicación: Buenos Aires
Mensajes: 487
Antigüedad: 17 años, 10 meses
Puntos: 1
Respuesta: En mi proyecto no funciona

Obviamente he puesto el js y los estilos dentro del HEAD
  #3 (permalink)  
Antiguo 10/02/2011, 06:56
Avatar de bUllan9ebrio  
Fecha de Ingreso: enero-2011
Ubicación: Chile
Mensajes: 1.128
Antigüedad: 13 años, 3 meses
Puntos: 128
Respuesta: En mi proyecto no funciona

en el form esta correcta este action="../home - copia/proceso_perfil.php" que error te sale??

Etiquetas: proyectos
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 03:13.