Buonsalve!
Stocreando un gdr play by chat Harry Potter ed ora sto facendo la coppa delle case. Nel myadmin ho fatto la sezione "coppa" e dentro ci ho messo
casa varchar 40
punti int 10
docente varchar 50
data datetime
Praticamente ci sono 4 case:Serpeverde, Grifondoro, Corvonero e Tassorosso. Ognuna di esse ha dei punti che io vorrei assegnare direttamente dal gdr. Il codice che io fino ad adesso ho creato è
quindi viene così:Codice:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="generator" content="AlterVista - Editor HTML"/> <title></title> </head> <body> <p style="text-align: center;"><span style="font-size: 18pt; font-family: times new roman,times;"><strong> <span style="font-size: 20pt; color: #800080;"><img src="http://witchraft.altervista.org/imgs/stemmi/Coppa.png" alt="Coppa" width="308" height="90" /></span></strong></span></p> <p> </p> <table> <tbody> <tr> <td><img id="irc_mi" style="margin-top: 84px;" src="http://img4.wikia.nocookie.net/__cb20120113182455/harrypotter/it/images/f/f8/Cimiero-di-Serpeverde.png" alt="" width="222" height="244" /></td> <td><img id="irc_mi" style="margin-top: 82px;" src="http://img4.wikia.nocookie.net/__cb20120113164711/harrypotter/it/images/0/0c/Cimiero-di-Grifondoro.png" alt="" width="229" height="248" /></td> <td><img id="irc_mi" style="margin-top: 82px;" src="http://images2.wikia.nocookie.net/__cb20120113180660/harrypotter/it/images/5/59/Cimiero-di-Corvonero.png" alt="" width="229" height="248" /></td> <td><img id="irc_mi" style="margin-top: 84px;" src="http://img2.wikia.nocookie.net/__cb20120113182517/harrypotter/it/images/1/12/Cimiero-di-Tassorosso.png" alt="" width="222" height="244" /></td> </tr> <tr> <td> <p style="text-align: center;"><span style="color: #008000; font-family: times new roman,times; font-size: 10pt;"><strong><img src="http://witchraft.altervista.org/imgs/stemmi/Serpeverde.png" alt="serpeverde" width="132" height="36" /></strong></span> <span style="color: #008000; font-size: 18pt;">0</span></p> <p>0 Coppe vinte</p> </td> <td> <p style="text-align: center;"><span style="color: #ff0000; font-family: times new roman,times; font-size: 10pt;"><strong><img src="http://witchraft.altervista.org/imgs/stemmi/Grifondoro.png" alt="grifondoro" width="106" height="36" /></strong></span> <span style="color: #ff0000; font-size: 18pt;">0</span></p> <p>0 Coppe vinte</p> </td> <td> <p style="text-align: center;"><span style="color: #0000ff; font-family: times new roman,times; font-size: 10pt;"><strong><img src="http://witchraft.altervista.org/imgs/stemmi/Corvonero.png" alt="Corvonero" width="99" height="36" /></strong></span> <span style="color: #0000ff; font-size: 18pt;">0</span></p> <p>0 Coppe vinte</p> </td> <td> <p style="text-align: center;"><span style="color: #ffcc00; font-family: times new roman,times; font-size: 10pt;"><strong><img src="http://witchraft.altervista.org/imgs/stemmi/Tassorosso.png" alt="Tassorosso" width="107" height="36" /></strong></span> <span style="color: #ffcc00; font-size: 18pt;">0</span></p> <p>0 Coppe vinte</p> </td> </tr> </tbody> </table> <html> <head> <title>Casa</title> </head> </html> <select> <option>Serpeverde</option> <option>Grifondoro</option> <option>Corvonero</option> <option>Tassorosso</option> </select> <input type="hidden" name="docente" value="<?php echo gdrcd_filter("out", $_SESSION[´login´]); ?>" /> </body> </html>
ora io dovrei
creare un form con un menù a tendina dove selezioni la casa (già fatto io con il html)
un campo input dove inserier i punti da assegnare (da fare)
ed un input hidden che passi il nome del docente che assegna i punti (già fatto)
chiusura con un input submit l´invia (da fare)
quindi chi potrebbi aiutarmi per fare un campo input dove inserier i punti da assegnare e poi alla fine una chiusura con un input submit l´invia.. Mi servirebbe il codice perché nono so lavorare con php

LinkBack URL
About LinkBacks
