• User Attivo

    Problema form

    Ragazzi come posso convertire in php/html questo form?
    ps. questo è wml.

    [php]
    <input type="text" name="login" maxlength="50"/><br/>'.
    '<small>PASSWORD:</small><br/>'.
    '<input type="password" name="pass" maxlength="50"/><br/>'.
    '<small>GBOOK TITLE:
    </small><br/>'.
    '<input type="text" name="title" maxlength="50"/><br/>'.
    '<small>SITE LINK:*</small><br/>'.
    '<input type="text" name="link" maxlength="50" value="http://"/><br/>'.
    '<small><anchor>[register]'.
    '<go href="reg.php" method="post">'.
    '<postfield name="login" value="$(login)"/>'.
    '<postfield name="pass" value="$(pass)"/>'.
    '<postfield name="link" value="$(link)"/>'.
    '<postfield name="title" value="$(title)"/>'.
    '</go></anchor><br/>'.
    '<a href="../index.php">[home]</a>'.
    '</small></p>'.
    [/php]
    Grazie a chi mi aiuterà:ciauz:


  • User Attivo

    Ecco qui:

    
    <form name="form1" action = "" method = "post"><small>USERNAME<input type="text" name="login" maxlength="50"/></small>
    <br/><small>PASSWORD:*</small><input type="password" name="pass" maxlength="50"/>
    <br/><small>GBOOK TITLE:*</small><input type="text" name="title" maxlength="50"/>
    <br/><small>SITE LINK:*</small><input type="text" name="link" maxlength="50" value="http://"/>
    <br/><small><input type = "submit" name = "submit" value = "submit"><anchor><a href="../index.php">[home]</a></anchor></small>
    <postfield name="login" value="$(login)"/> 
    <postfield name="pass" value="$(pass)"/> 
    <postfield name="link" value="$(link)"/> 
    <postfield name="title" value="$(title)"/>
    </form>
    
    

  • User Attivo

    Attualmente ho problemi con questo 😞
    [php]
    $login = enter();
    //
    print '<card title="UPDATE PROFILE">'.
    '<p>';
    if($login) {
    if(empty($action)) {
    print 'LOGIN AS: '.$login['login'].'<br/>'.
    'NEW PASSWORD:<br/>'.
    '<input type="text" name="newpass" value="'.$login['pass'].'"/><br/>'.
    'NEW TITLE:<br/>'.
    '<input type="text" name="title" value="'.$login['title'].'"/><br/>'.
    'NEW LINK:<br/>'.
    '<input type="text" name="link" value="'.$login['link'].'"/><br/>'.
    '<anchor>[update]<go href="profile.php?login='.$login['login'].'&pass=$pass" method="post">'.
    '<postfield name="action" value="edit"/>'.
    '<postfield name="newpass" value="$(newpass)"/>'.
    '<postfield name="title" value="$(title)"/>'.
    '<postfield name="link" value="$(link)"/>'.
    '</go></anchor><br/>';
    //
    }
    else
    {
    //
    if(@mysql_query("update ".$px.$utable." set pass='$newpass',title='".$title."',link='$link' where login='".$login['login']."';"))
    print "<b>YOUR NEW PROFILE WAS UPDATE IT !!!</b><br/>";
    //;
    print "<a href="../index.php">[home]</a>";
    }
    if(!$action)
    print "<anchor>[home]<prev/></anchor><br/>";
    } else { print ""; }
    //
    print '</p>'.
    '</card>'.
    '</wml>';
    //
    @mysql_close();
    ?>
    [/php]Mi riuscite a aiutare???:?