Ver Mensaje Individual
  #5 (permalink)  
Antiguo 26/08/2003, 19:59
Avatar de nuevo
nuevo
 
Fecha de Ingreso: mayo-2003
Ubicación: Spain
Mensajes: 2.009
Antigüedad: 20 años, 11 meses
Puntos: 2
mira, esto es muy cutre pero te dara una idea de como se hace... si quieres que te llege bien presentado creo yo que es cosa tuya... vamos.. tu le das las caracteristicas que quieras y demas.- tipo de letra, tamaño, color... etc.--

fichero de formulario.--- llamese form.html o php
Código PHP:
<html>

    <
head>
        <
meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
        <
meta name="generator" content="Maguma Studio Profesional">
        <
title>ejemplo</title>
    </
head>

    <
body bgcolor="#ffffff">
        <
div align="center">
            <
form method="post" action="leer_datos.php" enctype="multipart/form-data">
                <
input type="hidden" name="id" value="$resultados[id]">
                <
table align="center" cellspacing="1" cellpadding="2" width="377" bgcolor="black" border="0">
                    <
tbody>
                        <
tr height="19">
                            <
td valign="middle" bgcolor="#4b4b4b" width="135" height="19">
                                <
div align="right">
                                    <
font face="Verdana" color="white" size="1">NICK NAME:</font></div>
                            </
td>
                            <
td valign="bottom" bgcolor="#696969" width="222" height="19"><input type="text" name="nick" class="botones3" size="35" maxlength="16"></td>
                        </
tr>
                        <
tr height="19">
                            <
td valign="middle" bgcolor="#4b4b4b" width="148" height="19">
                                <
div align="right">
                                    <
font  face="Verdana" color="white" size="1">NIVEL DE ACCESO:</div>
                            </
td>
                            <
td valign="bottom" bgcolor="#696969" width="222" height="19"><select name="nivel" size="1" class="botones3">
                                    <
option value="6">6Moderador</option>
                                    <
option value="10">10Administrador</option>
                                </
select></td>
                        </
tr>
                    </
tbody>
                </
table>
                <
br>
            <
br>
            <
input name="addubica" type="submit" value="Aceptar y Enviar"><input type="button" value="Limpiar Pantalla" onclick="window.location.reload()"></div>
        </
form>
    </
body>

</
html

fichero que leera los datos del formulario... llamese leer_datos.php
Código PHP:
<?php
$nick_ 
$_POST['nick'];
$nivel_ $_POST['nivel'];


echo <<< HTML

<table align="center" cellspacing="1" cellpadding="2" width="377" bgcolor="black" border="0">
        <tbody>
            <tr height="19">
                <td valign="middle" bgcolor="#4b4b4b" width="135" height="19">
                    <div align="right">
                        <font face="Verdana" color="white" size="1">NICK NAME:</font></div>
                </td>
                <td valign="bottom" bgcolor="#696969" width="222" height="19"><input type="text" name="nick" value="$nick_" size="35" maxlength="16"></td>
            </tr>
            <tr height="19">
                <td valign="middle" bgcolor="#4b4b4b" width="148" height="19">
                    <div align="right">
                        <font  face="Verdana" color="white" size="1">NIVEL DE ACCESO:</div>
                </td>
                <td valign="bottom" bgcolor="#696969" width="222" height="19"><input type="text" name="nick" value="$nivel_" size="35" maxlength="16"></td>
            </tr>
        </tbody>
    </table>
<center>
<br>
<input type="button" value=" Volver " onclick="history.back()">
HTML;

?>

a ver si te sirve de ejemplo
__________________
3w.valenciadjs.com
3w.laislatv.com

Última edición por nuevo; 26/08/2003 a las 22:40