Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Basi di dati ~ informatica triennale > ma è cambiato il php? passaggio dati con FORM
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
MarcoVigna17
.precettore.

User info:
Registered: Dec 2007
Posts: 92 (0.01 al dì)
Location: Robecco sul Naviglio
Corso: Informatica
Anno: 1
Time Online: 20:21:26 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
ma è cambiato il php? passaggio dati con FORM

allora mi spiego velocemente: quando ero alle superiori e usavo una form, poi nel file php richiamato dalla action di quella form mi bastava riferirmi come $nomecampo (con name="nomecampo" di un qualsiasi input type) per avere bella che pronta quella variabile.

esempio che magari non sono stato chiarissimo:
file html: <form name="prova" action="file.php" method="get/post">
<input type="text" name="uno"> </form>

in file.php poi mi bastava scrivere $uno per avere pronto il valore immesso in quel campo della form



ora invece non c'è modo di fargliela capire, e l'unico modo con cui posso riferirmi ai campi inviati dalla form è tramite gli array $_GET['nomecampo'] o $_POST['nomecampo'].

cos'è successo al php mentre io studiavo sistemi operativi???

17-03-2010 01:55
Click Here to See the Profile for MarcoVigna17 Click here to Send MarcoVigna17 a Private Message Visit MarcoVigna17's homepage! Find more posts by MarcoVigna17 Add MarcoVigna17 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
luxifer
.novellino.

User info:
Registered: Oct 2009
Posts: 6 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 5:06:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

wella marco! anche te dietro a sto stupendo progetto? ahaha

lo sto sviluppando pure io e uso o get o post x riprendere le variabili... non so se si possono richiamare le variabili così senza leggerle da qualche parte, mi suona un po' strano :O

31-03-2010 20:10
Click Here to See the Profile for luxifer Click here to Send luxifer a Private Message Find more posts by luxifer Add luxifer to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Docguitar
.doc.

User info:
Registered: Sep 2004
Posts: 192 (0.03 al dì)
Location: Gatinèra
Corso: Comunicazione Digitale
Anno: Primo Fuori Corso
Time Online: 8 Days, 20:32:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

http://www.php.net/manual/en/langua....predefined.php

http://php.net/manual/en/language.v...es.external.php

__________________
E puoi maledire la tua bocca se sbagliando mi chiama quando lui ti tocca? - Pelle- (Afterhours)
----------------------------------------------
Msn Messenger: docguitar@supereva.it

Last edited by Docguitar on 31-03-2010 at 21:34

31-03-2010 21:31
Click Here to See the Profile for Docguitar Click here to Send Docguitar a Private Message Visit Docguitar's homepage! Find more posts by Docguitar Add Docguitar to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 03:04.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.050 seconds (68.74% PHP - 31.26% MySQL) con 26 query.