Salve a tutti,
chiedo come sia possibile caricare dei dati ed un' immagine con il seguente form su di un file xml, purtroppo sono alle prime armi e non sò propio da dove iniziare, poi vorrei sapere per archiviare 150 record và bene un file xml o dovrei utilizzare un db my sql ?
codice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Documento senza titolo</title> </head> <body> <form action="" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="100" border="1" cellpadding="5"> <tr> <td>nome</td> <td><label> <input type="text" name="nome" id="nome" /> </label></td> </tr> <tr> <td>cognome</td> <td><label> <input type="text" name="cognome" id="cognome" /> </label></td> </tr> <tr> <td>foto</td> <td><label> <input type="file" name="foto" id="foto" /> </label></td> </tr> <tr> <td></td> <td><label> <input type="submit" name="button" id="button" value="Invia" /> </label></td> </tr> </table> </form> </body> </html>

Rispondi quotando