IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Langage PHP Discussion :

Formulaire sous forme de tableau


Sujet :

Langage PHP

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre éclairé Avatar de ETVigan
    Homme Profil pro
    Conseil - Consultant en systèmes d'information
    Inscrit en
    Avril 2010
    Messages
    660
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Gard (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Conseil - Consultant en systèmes d'information
    Secteur : Finance

    Informations forums :
    Inscription : Avril 2010
    Messages : 660
    Par défaut Formulaire sous forme de tableau
    Bonjour,

    Qlqun'un aurait'il une expéerience sur les <form... /> organisées sour form de tableau ?
    Comme ceci 'par ex qui est bon en compil mais ne donne rien à l'exec)
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    <!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>Untitled Document</title>
    </head>
    
    <body>
    <?php
    /*
    if (isset( $_POST["$curr['test']['Reset'] "] ))
    	{	echo "Reset Catched"}}  }
    	
    if (isset( $_POST["$curr['test']['Submit']"] ))
    	{	echo "Submit Catched"}}  }
    */
    s?>
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <!-- ----------------------------------------------                          F O R M                           ---------------------------------------------- -->		
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post" name="$curr['test']">
    <table width="615" border="0">
      <tr>
        <td>&nbsp;</td>
        <td colspan="6" align="center" class="style1">Validation de votre formulaire</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td colspan="8"><hr /></td>
      </tr>
      <tr>
        <td width="60">Prenom</td>
        <td colspan="3">
    		<input type="text" name="$curr['test']['prenom']" maxlength="32" 
    				value="<?php if (isset($_POST[ $curr['test']['prenom'] ])) echo $_POST[ $curr['test' ]['prenom'] ]  ?> "/>	
    	</td>
        <td width="127" align="center">Nom</td>
        <td width="149">
    		<input type="text" name="$curr['test']['nom']" maxlength="32" 
    			   value="<?php if (isset($_POST[ $curr['test']['nom'] ])) echo $_POST[ $curr['test' ]['nom'] ]  ?> "/>
    	 </td>	
        <td width="46">&nbsp;</td>
        <td width="62">&nbsp;</td>
      </tr>
      <tr>
        <td>
    		<input type="submit"  name="$cur['test']['Reset']"   value="Effacer"/></td>
        <td colspan="6" align="center">
          <input type="text"   size=60 name="$cur['test']['message']"  readonly
    	         value="<?php if (isset($_POST[ $curr['test']['message'] ])) echo $_POST[ $curr['test' ]['message'] ]  ?>" />    
    	</td>
        <td><input type="submit" name=$curr['test']["SUBMIT"]   value="Envoyer"/></td>
      </tr>
    </table>
    </form>
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <!-- ----------------------------------------------                   End of F O R M                           ---------------------------------------------- -->		
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    </body>
    </html>
    Merci pour toutes infos......

  2. #2
    Membre éclairé Avatar de ETVigan
    Homme Profil pro
    Conseil - Consultant en systèmes d'information
    Inscrit en
    Avril 2010
    Messages
    660
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Gard (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Conseil - Consultant en systèmes d'information
    Secteur : Finance

    Informations forums :
    Inscription : Avril 2010
    Messages : 660
    Par défaut Tableau Ecran $_POST
    Voici l'état de mon test:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    <!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>Untitled Document</title>
    </head>
     
    <body>
    <?php
    /*
    if (isset( $_POST["$curr['test']['Reset'] "] ))
    	{	echo "Reset Catched"}}  }
    */
    if (isset( $_POST['Submit'] ))
    	{	echo "Submit Catched" ;}  
     
    ?>
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <!-- ----------------------------------------------                          F O R M                           ---------------------------------------------- -->		
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post" name="$curr['test']">
    <table width="615" border="0">
      <tr>
        <td>&nbsp;</td>
        <td colspan="6" align="center" class="style1">Validation de votre formulaire</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td colspan="8"><hr /></td>
      </tr>
      <tr>
        <td width="60">Prenom</td>
        <td colspan="3">
    		<input type="text" name="$curr['test']['prenom']" maxlength="32" 
    				value="<?php if (isset($_POST[ $curr['test']['prenom'] ])) echo $_POST[ $curr['test' ]['prenom'] ]  ?> "/>	
    	</td>
        <td width="127" align="center">Nom</td>
        <td width="149">
    		<input type="text" name="$curr['test']['nom']" maxlength="32" 
    			   value="<?php if (isset($_POST[ $curr['test']['nom'] ])) echo $_POST[ $curr['test' ]['nom'] ]  ?> "/>
    	 </td>	
        <td width="46">&nbsp;</td>
        <td width="62">&nbsp;</td>
      </tr>
      <tr>
        <td>
    		<input type="submit"  name="$cur['test']['Reset']"   value="Reset"/></td>
        <td colspan="6" align="center">
          <input type="text"   size=60 name="$cur['test']['message']"  readonly
    	         value="<?php if (isset($_POST[ $curr['test']['message'] ])) echo $_POST[ $curr['test' ]['message'] ]  ?>" />    
    	</td>
        <td><input type="submit" name=$curr['test']["Submit"]   value="Submit"/></td>
      </tr>
    </table>
    </form>
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <!-- ----------------------------------------------                   End of F O R M                           ---------------------------------------------- -->		
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    </body>
    </html>
    et le log:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    [30-May-2010 09:04:49] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 35
    [30-May-2010 09:04:49] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 40
    [30-May-2010 09:04:49] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 50
    Sachant que les mignes 3, 40 et 50 sont les 3 input statements !

    Merci pour toutes suggestions

  3. #3
    Membre éclairé Avatar de ETVigan
    Homme Profil pro
    Conseil - Consultant en systèmes d'information
    Inscrit en
    Avril 2010
    Messages
    660
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Gard (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Conseil - Consultant en systèmes d'information
    Secteur : Finance

    Informations forums :
    Inscription : Avril 2010
    Messages : 660
    Par défaut PHP Corrigé ... un poil
    La version PHP i-dessous est un poil corrigée, passe en compil mais tjs pas en exec:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    <!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>Untitled Document</title>
    </head>
     
    <body>
    <?php
    if (isset( $_POST[ $curr['test']['Reset']  ] ))
    	{	echo "Reset Catched" ; }
     
    if (isset( $_POST[ $curr['test']['Submit'] ] ))
    	{	echo "Submit Catched" ;}  
     
    if (isset( $_POST[ "submit" ] ))
    	{	echo "Submit Catched" ;}  
     
    ?>
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <!-- ----------------------------------------------                          F O R M                           ---------------------------------------------- -->		
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post" name="<?php $curr['test'] ?>">
    <table width="615" border="0">
      <tr>
        <td>&nbsp;</td>
        <td colspan="6" align="center" class="style1">Validation de votre formulaire</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td colspan="8"><hr /></td>
      </tr>
      <tr>
        <td width="60">Prenom</td>
        <td colspan="3">
    		<input type="text" name="$curr['test']['prenom']" maxlength="32" 
    				value="<?php if (isset($_POST[ $curr['test']['prenom'] ])) echo $_POST[ $curr['test' ]['prenom'] ]  ?> "/>	
    	</td>
        <td width="127" align="center">Nom</td>
        <td width="149">
    		<input type="text" name="$curr['test']['nom']" maxlength="32" 
    			   value="<?php if (isset($_POST[ $curr['test']['nom'] ])) echo $_POST[ $curr['test' ]['nom'] ]  ?> "/>
    	 </td>	
        <td width="46">&nbsp;</td>
        <td width="62">&nbsp;</td>
      </tr>
      <tr>
        <td>
    		<input type="submit"  name="<?php echo $curr['test']['Reset'] ?>"   value="Reset"/></td>
        <td colspan="6" align="center">
          <input type="text"   size=60 name="$cur['test']['message']"  readonly
    	         value="<?php if (isset($_POST[ $curr['test']['message'] ])) echo $_POST[ $curr['test' ]['message'] ]  ?>" />    
    	</td>
        <td><input type="submit" name="<?php echo $curr['test']['Submit'] ?>"   value="Submit"/></td>
      </tr>
    </table>
    </form>
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <!-- ----------------------------------------------                   End of F O R M                           ---------------------------------------------- -->		
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    </body>
    </html>
    Et le log:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    [30-May-2010 09:23:54] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 10
    [30-May-2010 09:23:54] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 13
    [30-May-2010 09:23:54] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 23
    [30-May-2010 09:23:54] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 37
    [30-May-2010 09:23:54] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 42
    [30-May-2010 09:23:54] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 49
    [30-May-2010 09:23:54] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 52
    [30-May-2010 09:23:54] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 54
    Un bon problème pour un dimanche "Gris" ....

  4. #4
    Membre éclairé Avatar de ETVigan
    Homme Profil pro
    Conseil - Consultant en systèmes d'information
    Inscrit en
    Avril 2010
    Messages
    660
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Gard (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Conseil - Consultant en systèmes d'information
    Secteur : Finance

    Informations forums :
    Inscription : Avril 2010
    Messages : 660
    Par défaut Ca va un peu mieux
    ça va un poil mieux....

    Les isset dans le formulaire foncitonnent...

    Mais pas les $_POST submit et reset

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    <?php
    define ("SUBMIT"  , "Submit"  ) ;
    define ("RESET"   , "Reset"   ) ;
    define ("NOM"     , "Nom"     ) ;
    define ("PRENOM"  , "Prenom"  ) ;
    define ("MESSAGE" , "Message" ) ;
     
    if (isset( $_POST[ $curr['test'][RESET ] ] ))
    	{	echo "Reset Catched" ; }
     
    if (isset( $_POST[ $curr['test'][SUBMIT] ] ))
    	{	echo "Submit Catched" ;}  
     
    $curr['test'][MESSAGE] = "Encodez le Formulaire" ;
    $curr['test'][PRENOM ] = "Prenom" ;
    $curr['test'][NOM    ] = "Nom" ; 
    $curr['test'][RESET  ] = "Reset" ;
    $curr['test'][SUBMIT ] = "Submit" ;
    ?>
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <!-- ----------------------------------------------                          F O R M                           ---------------------------------------------- -->		
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post" name="<?php echo $curr['test'] ?>">
    <table width="615" border="0">
      <tr>
        <td>&nbsp;</td>
        <td colspan="6" align="center" class="style1">Validation de votre formulaire</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td colspan="8"><hr /></td>
      </tr>
      <tr>
        <td width="60">Prenom</td>
        <td colspan="3">
    		<input type="text" name="<?php echo $curr['test'][PRENOM] ?>" maxlength="32" 
    				value="<?php if (isset($_POST[ $curr['test'][PRENOM] ])) echo $_POST[ $curr['test' ][PRENOM] ]  ?>"/>	
    	</td>
        <td width="127" align="center">Nom</td>
        <td width="149">
    		<input type="text" name="<?php echo $curr['test'][NOM] ?>" maxlength="32" 
    			   value="<?php if (isset($_POST[ $curr['test'][NOM] ])) echo $_POST[ $curr['test' ][NOM] ]  ?> "/>
    	 </td>	
        <td width="46">&nbsp;</td>
        <td width="62">&nbsp;</td>
      </tr>
      <tr>
        <td>
    		<input type="submit"  name="<?php echo $curr['test'][RESET] ?>"   value="Reset"/>
    	</td>
        <td colspan="6" align="center">
          <input type="text"   size=60 name="<?php echo $curr['test'][MESSAGE] ?>" readonly
    	         value="<?php if (isset($_POST[ $curr['test'][MESSAGE] ])) echo $_POST[ $curr['test' ][MESSAGE] ]  ?>" />    
    	</td>
        <td>
    		<input type="submit" name="<?php echo $curr['test'][SUBMIT] ?>"   value="Submit"/>
    	</td>
      </tr>
    </table>
    </form>
    Le log

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    [30-May-2010 09:54:28] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 16
    [30-May-2010 09:54:28] PHP Notice:  Undefined variable: curr in F:\WebSites\test\formarray.php on line 19

    Qui sont les 2 $_POST des boutons....

    On y arrivera bien un jour.....

  5. #5
    Membre éclairé Avatar de ETVigan
    Homme Profil pro
    Conseil - Consultant en systèmes d'information
    Inscrit en
    Avril 2010
    Messages
    660
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Gard (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Conseil - Consultant en systèmes d'information
    Secteur : Finance

    Informations forums :
    Inscription : Avril 2010
    Messages : 660
    Par défaut Fonctionne
    Cela semble fonctionner, j'arrête pour ajd'hui....
    En fait le tableau devait être définit au début....
    Plus rien dans le log...

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    <?php
    define ("SUBMIT"  , "Submit"  ) ;
    define ("RESET"   , "Reset"   ) ;
    define ("NOM"     , "Nom"     ) ;
    define ("PRENOM"  , "Prenom"  ) ;
    define ("MESSAGE" , "Message" ) ;
     
    $curr['test'][MESSAGE] = "Encodez le Formulaire" ;
    $curr['test'][PRENOM ] = "Prenom" ;
    $curr['test'][NOM    ] = "Nom" ; 
    $curr['test'][RESET  ] = "Reset" ;
    $curr['test'][SUBMIT ] = "Submit" ;
     
    if (isset( $_POST[ $curr['test'][RESET ] ] ))
    	{	echo "Reset Catched" ; }
     
    if (isset( $_POST[ $curr['test'][SUBMIT] ] ))
    	{	echo "Submit Catched" ;}  
     
    ?>
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <!-- ----------------------------------------------                          F O R M                           ---------------------------------------------- -->		
    <!-- -------------------------------------------------------------------------------------------------------------------------------------------------------- -->		
    <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post" name="<?php echo $curr['test'] ?>">
    <table width="615" border="0">
      <tr>
        <td>&nbsp;</td>
        <td colspan="6" align="center" class="style1">Validation de votre formulaire</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td colspan="8"><hr /></td>
      </tr>
      <tr>
        <td width="60">Prenom</td>
        <td colspan="3">
    		<input type="text" name="<?php echo $curr['test'][PRENOM] ?>" maxlength="32" 
    				value="<?php if (isset($_POST[ $curr['test'][PRENOM] ])) echo $_POST[ $curr['test' ][PRENOM] ]  ?>"/>	
    	</td>
        <td width="127" align="center">Nom</td>
        <td width="149">
    		<input type="text" name="<?php echo $curr['test'][NOM] ?>" maxlength="32" 
    			   value="<?php if (isset($_POST[ $curr['test'][NOM] ])) echo $_POST[ $curr['test' ][NOM] ]  ?> "/>
    	 </td>	
        <td width="46">&nbsp;</td>
        <td width="62">&nbsp;</td>
      </tr>
      <tr>
        <td>
    		<input type="submit"  name="<?php echo $curr['test'][RESET] ?>"   value="Reset"/>
    	</td>
        <td colspan="6" align="center">
          <input type="text"   size=60 name="<?php echo $curr['test'][MESSAGE] ?>" readonly
    	         value="<?php if (isset($_POST[ $curr['test'][MESSAGE] ])) echo $_POST[ $curr['test' ][MESSAGE] ]  ?>" />    
    	</td>
        <td>
    		<input type="submit" name="<?php echo $curr['test'][SUBMIT] ?>"   value="Submit"/>
    	</td>
      </tr>
    </table>
    </form>
    Preneur de toutes suggestions et améliorations....

  6. #6
    Membre Expert Avatar de RunCodePhp
    Profil pro
    Inscrit en
    Janvier 2010
    Messages
    2 962
    Détails du profil
    Informations personnelles :
    Localisation : Réunion

    Informations forums :
    Inscription : Janvier 2010
    Messages : 2 962
    Par défaut
    Salut

    Comme je l'est dis dans un autre topic, tu laisse (largement) supposé qu'il y aurait une relation entre la structure de ton tableau $curr et la structure HTML.
    Pour ma part, tu fait un pure amalgame.

    Ce n'est pas parce que que ton tableau $curr est à 2 dimensions que ça va automatiquement générer un HTML de la même structure.
    Pure amalgame, pure confusion à mon sens.

    D'ailleurs, tu as une erreur ici :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post" name="<?php echo $curr['test'] ?>">
    $curr['test'] est un tableau, du coup, Php retournera Array et non une valeur qui n'existe pas.
    Ici, je vois clairement un problème de compréhension.
    Tu y verrais à mon sens une interaction beaucoup plus importe qu'il y aurait réellement.


    La seule et unique interaction qu'il y a entre Php et HTML, c'est en sortie, c'est à dire une fois le formulaire est soumis, donc après.
    Il y a donc aucune interaction pendant qu'on génère le HTML (c'est ce que tu laisse supposer).


    L'interaction se trouve sur la manière de créer les noms des éléments HTML (comme les input par ex.), comme mettre des noms sous forme de tableaux, c'est tout.
    Autant dire pas grand chose, même si cela est très pratique.


    Ceci dit, et dans les exemples de code que tu donne, tu ne génère pas des noms sous forme de tableaux, mais de simples noms tout ce qui a de traditionnel (à l'inverse de l'autre topic).
    Je ne vois rien de très particulier dans tout ceci, tout juste une façon de faire un peu (beaucoup) lourde alors quelle pourrait se faire bien plus simplement.


    Je ne sais si tout ceci est juste, et te sera utile.

Discussions similaires

  1. [MySQL] Modifier une TABLE avec un formulaire sous forme de tableau
    Par Marie f dans le forum PHP & Base de données
    Réponses: 17
    Dernier message: 23/05/2012, 00h15
  2. Formulaire de saisie sous forme de tableau
    Par fafi1 dans le forum Struts 1
    Réponses: 4
    Dernier message: 22/02/2008, 15h22
  3. Formulaire sous forme de tableau
    Par seaosiris dans le forum IHM
    Réponses: 6
    Dernier message: 14/06/2007, 08h45
  4. Affichage graphique sous forme de tableau.
    Par eulone dans le forum C++
    Réponses: 2
    Dernier message: 24/11/2004, 20h34
  5. XSL pour visualiser arbre XML sous forme de tableau en HTML
    Par mattmat dans le forum XSL/XSLT/XPATH
    Réponses: 4
    Dernier message: 28/03/2003, 10h55

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo