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

PHP & Base de données Discussion :

Modif d'une publication d'un membre x d'une de ses œuvres n° x


Sujet :

PHP & Base de données

  1. #1
    Membre régulier
    Homme Profil pro
    Inscrit en
    Février 2013
    Messages
    149
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Février 2013
    Messages : 149
    Points : 87
    Points
    87
    Par défaut Modif d'une publication d'un membre x d'une de ses œuvres n° x
    Bonjour à tous et à toutes,

    Je suis actuellement sur la création d'un "galerie d'art".

    J'ai précédemment réalisé un système permettant aux membres de publier des œuvres, avec un titre, une description un id image, un id membre, etc....

    Voici le code de ma page publication (switch case : publier ) : ( qui fonctionne parfaitement ^^ )

    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
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    <form method="post" action="" enctype="multipart/form-data">
     
    <legend><p class="textesimple"><b>Ajout d'une oeuvre</b></p></legend>
    <div id="encartpubldiv"><div id="encpubldiv"><label for="titre"><p class="textesimple">Titre : </label><input type="text" name="titre_oeuvre" id="oeuvretitre" placeholder="Choisissez un titre"/></p></div>
     
    <legend><p class="textesimple"><b>Sélectionnez une oeuvre</b></p></legend>
     
    <div id="encpubldiv"><label for="oeuvre"><p class="textesimple">Image : </label><input type="file" name="image_oeuvre" class="inputenvoie"/></p></div>
     
    <legend><p class="textesimple"><b>Décrivez votre oeuvre</b></p></legend>
     
    <div id="encpubldiv"><label for="description"><p class="textesimple">Description : </label><textarea name="description_oeuvre" id="description" cols="40" rows="5" placeholder="Ecrivez une description de votre oeuvre ici !"></textarea></p></div>
     
    <legend><p class="textesimple"><b>Classification</b></p></legend>
     
     <div id="encpubldiv"><label for="categorie"><p class="textesimplesans">Catégorie : </label>
           <select name="oeuvre_categorie" id="categorie">
           <option value="autre">Autre...</option>
               <option value="bandedessine">Bande dessinée</option>
               <option value="peinture">Peinture</option>
               <option value="croquis">Croquis</option>
               <option value="dessin">Dessin</option>
    		   <option value="graphe">Graphe</option>
     
           </select></p></div>
     
    	  <div id="encpubldiv"><label for="style"><p class="textesimplesans">Style : </label>
           <select name="oeuvre_style" id="style">
    		   <option value="autre">Autre...</option>
               <option value="abstrait">Abstrait</option>
    		   <option value="arturbain">Art urbain</option>
    		   <option value="baroc">Baroc</option>
    		   <option value="cubisme">Cubisme</option>
    		   <option value="dadaisme">Dadaisme</option>
    		   <option value="expressionnisme">Expressionnisme</option>
    		   <option value="fauvisme">Fauvisme</option>
    		   <option value="futurisme">Futurisme</option>
    		   <option value="gothisme">Gothisme</option>
    		   <option value="hyperrealisme">Hyperrealisme</option>
    		   <option value="impressionnisme">Impressionnisme</option>
    		   <option value="rococo">Rococo</option>
    		   <option value="romantisme">Romantisme</option>
    		   <option value="lettrisme">Lettrisme</option>
    		   <option value="modernisme">Modernisme</option>
    		   <option value="naturalisme">Naturalisme</option>
    		   <option value="neoclassicisme">Néoclassicisme</option>
    		   <option value="neogothique">Néogothique</option>
               <option value="pointillisme">Pointillisme</option>
    		   <option value="popart">Popart</option>
    		   <option value="photorealisme">Photoréalisme</option>
    		   <option value="postimpressionnisme">Postimpressionnisme</option>
    		   <option value="punk">Punk</option>
    		   <option value="surrealisme">Surréalisme</option>
    		   <option value="symbolisme">Symbolisme</option>
           </select></p></div>
     
    <legend><p class="textesimple"><b>Date de réalisation</b></p></legend>
     
    <div id="encpubldiv"><label for="datecreaoeuvre"><p class="textesimple">Date de création : </label><input type="text" name="date_crea" id="datecreaoeuvre" placeholder="AAAA-MM-JJ"/></p></div>
     
    <input type="submit" name="envoyer" value="envoyer" class="inputenvoie"/>
    </div></form>
     
    <?php
     
    	 if (isset($_POST['envoyer'])) 
    { 
    if (!empty($_FILES))
    {
    $imgpublication=$_FILES['image_oeuvre']['name'];
    $ext = strtolower(pathinfo($imgpublication,PATHINFO_EXTENSION));
    $allow_ext = array('jpg','png','gif','bmp','jpeg');
    if (in_array($ext,$allow_ext))
    {
    	$destination ="./images/oeuvres/".$imgpublication;
    move_uploaded_file($_FILES['image_oeuvre']['tmp_name'],$destination);
     
     $id=($_SESSION['membre_id']);
     $titre = ($_POST['titre_oeuvre']);
     $oeuvre_description = ($_POST['description_oeuvre']);
     $cat = ($_POST['oeuvre_categorie']);
     $styl = ($_POST['oeuvre_style']);
     $datecreaoeuvre = ($_POST['date_crea']);
     
     }
    else
    {
    	$erreurpublication = '<p class="texteerror">'."Votre fichier contient une mauvaise extension, ou n'est pas une image.".'</p>';
    }
     
     if(empty($id) OR empty($imgpublication) OR empty($titre) OR empty($cat) OR empty($styl) OR empty($oeuvre_description))
        {
        echo '<p class="textewarning">'."Vous devez remplir tous les champs".'</p>';
        }
     else
     {
    try
    {
     $req = $bdd->prepare('INSERT INTO oeuvre_artiste (artiste_id, titre_oeuvre, description_oeuvre, image_oeuvre, oeuvre_categorie, oeuvre_style, date_crea, date_edit) VALUES(:artiste_id,:titre_oeuvre,:description_oeuvre,:image_oeuvre,:oeuvre_categorie,:oeuvre_style,:date_crea, NOW())');
     
    $req->bindValue(':artiste_id', $id, PDO:  Smiley langue ARAM_INT);
    $req->bindValue(':titre_oeuvre', $titre, PDO:  Smiley langue ARAM_STR);
    $req->bindValue(':description_oeuvre', $oeuvre_description, PDO:  Smiley langue ARAM_STR);
    $req->bindValue(':image_oeuvre', $imgpublication, PDO:  Smiley langue ARAM_STR);
    $req->bindValue(':oeuvre_categorie', $cat, PDO:  Smiley langue ARAM_INT);
    $req->bindValue(':oeuvre_style', $styl, PDO:  Smiley langue ARAM_INT);
    $req->bindValue(':date_crea', $datecreaoeuvre, PDO:  Smiley langue ARAM_INT);
     
    $req->execute();
     }
    catch (Exception $e)
    {
            die('Erreur : ' . $e->getMessage());
    }
    echo '<p class="textevalide">'."L'envoie à bien été effectué !".'</p>';
     }
    }
     
     if (isset($erreurpublication))
     {
    	 echo $erreurpublication;
     }
     
    }
    }
    Ce que je souhaiterai effectuer maintenant et un système permettant la modification d'une publication effectuer par un membre.

    Pour cela il faut effectuer une première page permettant la sélection d'une des œuvres du membre x, pour être ensuite modifier, mais je ne vois pas comment m'y prendre Smiley decu .

    Voici mon début de code de la page publication ( switch case : modifier )

    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
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    <?php
    switch ($_GET['action']) {
    	 case "modifier":
     
    $id=($_SESSION['membre_id']);
    $id_oeuvre=($_SESSION['oeuvre_id']);	 
    $query = $bdd->prepare('SELECT oeuvre_id, artiste_id, titre_oeuvre, description_oeuvre, image_oeuvre, oeuvre_categorie, oeuvre_style, date_crea FROM oeuvre_artiste WHERE artiste_id=:id');
    $query->bindValue(':id', $id, PDO:  Smiley langue ARAM_INT);
            $query->execute();
            $data = $query->fetch();
    		?>
    		<form id="oeuvre_id" method="post" action="publication.php?action=modifier" enctype="multipart/form-data">';
     
    		<p class="textesimple"><label for="imageoeuvre">Changer l'image : </label><input type="file" name="imageoeuvre" id="imageoeuvre"/>
    (max : 10 Mo)<br /><br /><label><input type="checkbox" name="delete" value="Delete"/>Supprimer l'oeuvre</label> actuel : <img src="./images/oeuvres/<?php echo $data['image_oeuvre'] ?>" class="imageoeuvre" alt="image"/></p>
     
    		<p class="textesimple"><label for="titreoeuvre">Titre de l'oeuvre : </label><input type="text" name="titreoeuvre" id="titreoeuvre" value="<?php echo $data['titre_oeuvre'] ?>" /></p>
     
    		<p class="textesimple"><label for="titreoeuvre">Description : </label><input type="text" name="descriptionoeuvre" id="descriptionoeuvre" value="<?php echo $data['description_oeuvre']?>"/></p>
     
    		<div id="encpubldiv"><label for="categorie"><p class="textesimplesans">Catégorie : </label>
           <select name="oeuvre_categorie" id="categorie" value="<?php echo $data['oeuvre_categorie'] ?>">
     
    	 	   <option value="autre" <?php if("autre"==$data['oeuvre_categorie']){?> selected <?php } ?>>Autre...</option>
               <option value="bandedessine" <?php if("bandedessine"==$data['oeuvre_categorie']){?> selected <?php } ?>>Bande dessinée</option>
               <option value="peinture" <?php if("peinture"==$data['oeuvre_categorie']){?> selected <?php } ?>>Peinture</option>
               <option value="croquis" <?php if("croquis"==$data['oeuvre_categorie']){?> selected <?php } ?>>Croquis</option>
               <option value="dessin" <?php if("dessin"==$data['oeuvre_categorie']){?> selected <?php } ?>>Dessin</option>
    		   <option value="graphe" <?php if("graphe"==$data['oeuvre_categorie']){?> selected <?php } ?>>Graphe</option>
     
           </select></p></div>
     
    	   <div id="encpubldiv"><label for="style"><p class="textesimplesans">Style : </label>
           <select name="oeuvre_style" id="style" value="<?php echo $data['oeuvre_style'] ?>">
    		   <option value="autre" <?php if("autre"==$data['oeuvre_style']){?> selected <?php } ?>>Autre...</option>
               <option value="abstrait" <?php if("abstrait"==$data['oeuvre_style']){?> selected <?php } ?>>Abstrait</option>
    		   <option value="arturbain" <?php if("arturbain"==$data['oeuvre_style']){?> selected <?php } ?>>Art urbain</option>
    		   <option value="baroc" <?php if("baroc"==$data['oeuvre_style']){?> selected <?php } ?>>Baroc</option>
    		   <option value="cubisme" <?php if("cubisme"==$data['oeuvre_style']){?> selected <?php } ?>>Cubisme</option>
    		   <option value="dadaisme" <?php if("dadaisme"==$data['oeuvre_style']){?> selected <?php } ?>>Dadaisme</option>
    		   <option value="expressionnisme" <?php if("expressionnisme"==$data['oeuvre_style']){?> selected <?php } ?>>Expressionnisme</option>
    		   <option value="fauvisme" <?php if("fauvisme"==$data['oeuvre_style']){?> selected <?php } ?>>Fauvisme</option>
    		   <option value="futurisme" <?php if("futurisme"==$data['oeuvre_style']){?> selected <?php } ?>>Futurisme</option>
    		   <option value="gothisme" <?php if("gothique"==$data['oeuvre_style']){?> selected <?php } ?>>Gothisme</option>
    		   <option value="hyperrealisme" <?php if("hyperrealisme"==$data['oeuvre_style']){?> selected <?php } ?>>Hyperrealisme</option>
    		   <option value="impressionnisme" <?php if("impressionnisme"==$data['oeuvre_style']){?> selected <?php } ?>>Impressionnisme</option>
    		   <option value="rococo" <?php if("rococo"==$data['oeuvre_style']){?> selected <?php } ?>>Rococo</option>
    		   <option value="romantisme" <?php if("romantisme"==$data['oeuvre_style']){?> selected <?php } ?>>Romantisme</option>
    		   <option value="lettrisme" <?php if("lettrisme"==$data['oeuvre_style']){?> selected <?php } ?>>Lettrisme</option>
    		   <option value="modernisme" <?php if("modernisme"==$data['oeuvre_style']){?> selected <?php } ?>>Modernisme</option>
    		   <option value="naturalisme" <?php if("naturalisme"==$data['oeuvre_style']){?> selected <?php } ?>>Naturalisme</option>
    		   <option value="neoclassicisme" <?php if("neoclassicisme"==$data['oeuvre_style']){?> selected <?php } ?>>Néoclassicisme</option>
    		   <option value="neogothique" <?php if("neogothique"==$data['oeuvre_style']){?> selected <?php } ?>>Néogothique</option>
               <option value="pointillisme" <?php if("pointillisme"==$data['oeuvre_style']){?> selected <?php } ?>>Pointillisme</option>
    		   <option value="popart" <?php if("popart"==$data['oeuvre_style']){?> selected <?php } ?>>Popart</option>
    		   <option value="photorealisme" <?php if("photorealisme"==$data['oeuvre_style']){?> selected <?php } ?>>Photoréalisme</option>
    		   <option value="postimpressionnisme" <?php if("postimpressionnisme"==$data['oeuvre_style']){?> selected <?php } ?>>Postimpressionnisme</option>
    		   <option value="punk" <?php if("punk"==$data['oeuvre_style']){?> selected <?php } ?>>Punk</option>
    		   <option value="surrealisme" <?php if("surrealisme"==$data['oeuvre_style']){?> selected <?php } ?>>Surréalisme</option>
    		   <option value="symbolisme" <?php if("symbolisme"==$data['oeuvre_style']){?> selected <?php } ?>>Symbolisme</option>
           </select></p></div>
     
    	    <p class="textesimple"><label for="datecreaoeuvre">Date de  création : </label><input type="text" name="datecreaoeuvre" id="descriptionoeuvre" value="<?php echo $data['date_crea'] ?>"/></p>
     
    		<p class="classinscr"><input type="submit" value="Modifier une publication" />
            <input type="hidden" id="sent" name="sent" value="1" />
            </p></form>
     
            <?php
     
    		$query->CloseCursor();
     
    	 echo '<p class="texteerror">'."La page de modification de publication est indisponible actuellement".'</p>';
     
    	  break;
    Merci à vous pour votre attention et votre aide.

  2. #2
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Points : 44 155
    Points
    44 155
    Par défaut
    déjà n'alourdit pas ton code avec des syntaxes inutiles :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    $id=($_SESSION['membre_id']);
    =>
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    $id = $_SESSION['membre_id'];
    Ensuite pour lister, il faut peut être que tu aies une boucle sur les résultats de ta requête et la construction d'une liste (que ce soit un menu déroulant à autre chose).
    La tu passes directement de la requête, à un fetch() unique, à l'édition du résultat.
    N'oubliez pas de consulter les FAQ PHP et les cours et tutoriels PHP

  3. #3
    Membre actif
    Profil pro
    Responsable de service informatique
    Inscrit en
    Août 2006
    Messages
    174
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Responsable de service informatique
    Secteur : Industrie

    Informations forums :
    Inscription : Août 2006
    Messages : 174
    Points : 232
    Points
    232
    Par défaut
    Bonsoir,

    Comme précise par sabotage, il faut effectuer une requête sur les oeuvres pour récupérer la liste d'un membre.

    Puis le plus simple est d'afficher les oeuvres avec un lien vers une page modification.PHP
    Dans l'URL tu fais passer l'id unique de l'oeuvre.

    Ensuite dans ta page modification.PHP, tu récupérés l'id en get puis tu effectues une requête de l'oeuvre pour récupérer toutes les infos de cet oeuvre.

    Il me semble que c'est la façon la plus simple pour débuter.

    Par la suite tu pourras passer par des variables de sesiion ou autres

    Natso

  4. #4
    Membre à l'essai
    Profil pro
    Inscrit en
    Novembre 2006
    Messages
    20
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Novembre 2006
    Messages : 20
    Points : 12
    Points
    12
    Par défaut
    Voici une ébauche de la façon dont vous pourriez procéder ( j'ai fais au plus court, le code ne fonctionnera certainement pas et n'est pas des plus optimisés, mais l'idée principale est là. )

    On fait donc un fetchAll() au lieu du fetch(), le fetch étant utilisé pour récupérer le résultat d'une seule ligne d'une table.
    Puis on affiche grâce au foreach.
    ---
    Si &action=modifier existe et que l'id aussi, on affiche alors l’œuvre correspondante ( conseillé : vérifier si l'id est bien présente en bdd pour éviter d'afficher une page vide ).
    On récupère les informations grâce à $data qui contient toutes les œuvres en lui précisant l'id de l’œuvre qu'on veut récupérer dans le tableau.
    Exemple : $data[REQUEST['id']]['titre']
    ---
    Si les conditions sont remplies et que le champ caché est détecté, on modifie les données correspondantes à l'id de l'oeuvre.

    Voilààà, j'espère que ça pourra vous servir


    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
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    <?php
    switch ($_GET['action']) {
     
    	case "modifier":
     
    	$query = $bdd->query('SELECT oeuvre_id, artiste_id, titre_oeuvre, description_oeuvre, image_oeuvre, oeuvre_categorie, oeuvre_style, date_crea FROM oeuvre_artiste');
    	$data = $query->fetchAll();
     
    	//Affichage des oeuvres, plus lien pour accéder à sa modification
    	foreach($data as $oeuvre)
    	{
    		?><p><?php echo $oeuvre['titre']; ?> : <a href="publication.php?action=modifier&id=<?php echo $oeuvre['id']; ?>">Modifier</a></p><?php
    	}
    	// Verification des variables passées en GET
    	if(isset($_REQUEST['id']) && !empty($_REQUEST['id']) && intval($_REQUEST['id'])) 
    	{
    		// Si le formulaire à été envoyé
    		if(isset($_REQUEST['sent']) && $_REQUEST['sent'] == 1)
    		{
    			// REQUETE D UPDATE
    			// Pas besoin de protéger les variables puisque grâce à pdo et le prepare elles le sont automatiquement
    			$query = $bdd->prepare('UPDATE oeuvres SET titre="'.$_REQUEST['titre'].'", image="'..'", ... WHERE artiste_id=:id');
    			echo " Updaté ! ";
    		}
    		// On affiche le formulaire
    		else
    		{
    			?>
    			<form id="oeuvre_id" method="post" action="publication.php?action=modifier" enctype="multipart/form-data">';
     
    				<p class="textesimple"><label for="imageoeuvre">Changer l'image : </label><input type="file" name="imageoeuvre" id="imageoeuvre"/>
    					(max : 10 Mo)<br /><br /><label><input type="checkbox" name="delete" value="Delete"/>Supprimer l'oeuvre</label> actuel : <img src="./images/oeuvres/<?php echo $data[$_REQUEST['id'][$_REQUEST['id']['image_oeuvre'] ?>" class="imageoeuvre" alt="image"/>
    				</p>
     
    				<p class="textesimple"><label for="titreoeuvre">Titre de l'oeuvre : </label><input type="text" name="titreoeuvre" id="titreoeuvre" value="<?php echo $data[$_REQUEST['id'][$_REQUEST['id']['titre_oeuvre'] ?>" /></p>
     
    				<p class="textesimple"><label for="titreoeuvre">Description : </label><input type="text" name="descriptionoeuvre" id="descriptionoeuvre" value="<?php echo $data[$_REQUEST['id']['description_oeuvre']?>"/></p>
     
    				<div id="encpubldiv">
    					<label for="categorie">Catégorie : </label>
    					<select name="oeuvre_categorie" id="categorie" value="<?php echo $data[$_REQUEST['id']['oeuvre_categorie'] ?>">
    					   <option value="autre" <?php if("autre"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Autre...</option>
    					   <option value="bandedessine" <?php if("bandedessine"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Bande dessinée</option>
    					   <option value="peinture" <?php if("peinture"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Peinture</option>
    					   <option value="croquis" <?php if("croquis"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Croquis</option>
    					   <option value="dessin" <?php if("dessin"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Dessin</option>
    					   <option value="graphe" <?php if("graphe"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Graphe</option>
    				   </select>
    			   </div>
     
    			   <div id="encpubldiv">
    				   <label for="style">Style : </label>
    				   <select name="oeuvre_style" id="style" value="<?php echo $data[$_REQUEST['id']['oeuvre_style'] ?>">
    					   <option value="autre" <?php if("autre"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Autre...</option>
    					   <option value="abstrait" <?php if("abstrait"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Abstrait</option>
    					   <option value="arturbain" <?php if("arturbain"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Art urbain</option>
    					   <option value="baroc" <?php if("baroc"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Baroc</option>
    					   <option value="cubisme" <?php if("cubisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Cubisme</option>
    					   <option value="dadaisme" <?php if("dadaisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Dadaisme</option>
    					   <option value="expressionnisme" <?php if("expressionnisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Expressionnisme</option>
    					   <option value="fauvisme" <?php if("fauvisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Fauvisme</option>
    					   <option value="futurisme" <?php if("futurisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Futurisme</option>
    					   <option value="gothisme" <?php if("gothique"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Gothisme</option>
    					   <option value="hyperrealisme" <?php if("hyperrealisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Hyperrealisme</option>
    					   <option value="impressionnisme" <?php if("impressionnisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Impressionnisme</option>
    					   <option value="rococo" <?php if("rococo"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Rococo</option>
    					   <option value="romantisme" <?php if("romantisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Romantisme</option>
    					   <option value="lettrisme" <?php if("lettrisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Lettrisme</option>
    					   <option value="modernisme" <?php if("modernisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Modernisme</option>
    					   <option value="naturalisme" <?php if("naturalisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Naturalisme</option>
    					   <option value="neoclassicisme" <?php if("neoclassicisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Néoclassicisme</option>
    					   <option value="neogothique" <?php if("neogothique"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Néogothique</option>
    					   <option value="pointillisme" <?php if("pointillisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Pointillisme</option>
    					   <option value="popart" <?php if("popart"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Popart</option>
    					   <option value="photorealisme" <?php if("photorealisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Photoréalisme</option>
    					   <option value="postimpressionnisme" <?php if("postimpressionnisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Postimpressionnisme</option>
    					   <option value="punk" <?php if("punk"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Punk</option>
    					   <option value="surrealisme" <?php if("surrealisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Surréalisme</option>
    					   <option value="symbolisme" <?php if("symbolisme"==$data[$_REQUEST['id']['oeuvre_style']){?> selected <?php } ?>>Symbolisme</option>
    				   </select>
    			   </div>
     
    				<p class="textesimple"><label for="datecreaoeuvre">Date de  création : </label><input type="text" name="datecreaoeuvre" id="descriptionoeuvre" value="<?php echo $data[$_REQUEST['id']['date_crea'] ?>"/></p>
     
    				<p class="classinscr">
    					<input type="submit" value="Modifier une publication" />
    				</p>
    				<input type="hidden" id="sent" name="sent" value="1" />
    			</form>
    			<?php
    		}
    	}
    	break;
    	 ?>

  5. #5
    Membre à l'essai
    Profil pro
    Inscrit en
    Novembre 2006
    Messages
    20
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Novembre 2006
    Messages : 20
    Points : 12
    Points
    12
    Par défaut
    Ha et au passage, au lieu de :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    <div id="encpubldiv">
    	<label for="categorie">Catégorie : </label>
    	<select name="oeuvre_categorie" id="categorie" value="<?php echo $data[$_REQUEST['id']['oeuvre_categorie'] ?>">
    	   <option value="autre" <?php if("autre"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Autre...</option>
    	   <option value="bandedessine" <?php if("bandedessine"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Bande dessinée</option>
    	   <option value="peinture" <?php if("peinture"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Peinture</option>
    	   <option value="croquis" <?php if("croquis"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Croquis</option>
    	   <option value="dessin" <?php if("dessin"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Dessin</option>
    	   <option value="graphe" <?php if("graphe"==$data[$_REQUEST['id']['oeuvre_categorie']){?> selected <?php } ?>>Graphe</option>
       </select>
    </div>
    Il est bien plus optimisé et modulable de faire :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    		 <?php
    		 $categories = array(0 => "autre", 1 => "bandedessine", 2 => "sqdsqd");
    		 foreach($categories as $categorie)
    		 {
    			?><option value="<?php echo $categorie; ?>"<?php if($categorie == $data[$_REQUEST['id']]['oeuvre_categorie']){?> selected<?php } ?>><?php echo $categorie; ?></option><?php
    		 }
    		 ?>
    Le tableau pouvant très bien être remplacé par des données stockées dans la base de donnée.

  6. #6
    Membre régulier
    Homme Profil pro
    Inscrit en
    Février 2013
    Messages
    149
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Février 2013
    Messages : 149
    Points : 87
    Points
    87
    Par défaut
    Merci à vous tous pour votre aide =),

    Au lieu de créer une nouvelle page "modification.php" , j'ai pensé que rajouter dans le switch, une nouvelle 'case' que j'ai nommé "selection" simplifierai les choses ^^.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    case "selection":
     
    	 $artiste_id = $_SESSION['membre_id'];
    	 echo '<h3 class="textesimple">'."Séléctionnez une oeuvres".'</h3>';
    $reponse=$bdd->prepare('SELECT oeuvre_id, artiste_id, titre_oeuvre, description_oeuvre, image_oeuvre, oeuvre_categorie, oeuvre_style, date_crea FROM oeuvre_artiste WHERE artiste_id= :artiste_id');
    $reponse->bindValue(':artiste_id', $artiste_id, PDO::PARAM_INT);
    $reponse->execute();
     while ($data=$reponse->fetch()) { 
     
     echo '<div id="ficheartistegal"><a href="./publication.php?a='.stripslashes(htmlspecialchars($data['oeuvre_id'])).'&amp;action=modifier"><figure><img src="./images/oeuvres/'.$data['image_oeuvre'].'" class="imgavatargal" alt="oeuvres artiste" /><figcaption><p class="boutonlien">'.htmlspecialchars($data['titre_oeuvre']).'</p></figcaption></figure></a></div>';
     }
     $reponse->closeCursor();
     
    	 break;
    J'essaye actuellement de passer la variable de l'id oeuvre dans la case : modifier ^^

    ( Merci pour les méthodes d'indentation de mon code =) je ne manquerais pas de les mettre en application quand j'aurais fini le système de modification ^^ )

    Merci encore pour votre attention et votre aide.

  7. #7
    Membre actif
    Profil pro
    Responsable de service informatique
    Inscrit en
    Août 2006
    Messages
    174
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Responsable de service informatique
    Secteur : Industrie

    Informations forums :
    Inscription : Août 2006
    Messages : 174
    Points : 232
    Points
    232
    Par défaut
    Bonsoir,

    Dans ta page publication.php, tu récupères les variables a et action avec la méthode get.

    Natso

  8. #8
    Membre régulier
    Homme Profil pro
    Inscrit en
    Février 2013
    Messages
    149
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Février 2013
    Messages : 149
    Points : 87
    Points
    87
    Par défaut
    Merci encore pour votre aide =),

    J'ai donc fait passer la variable ( s ) avec la méthode GET,

    Une fois la sélection de l'oeuvre effectué, cela m'envoie donc sur le formulaire de modification qui m'indique bien les précédentes informations ajoutée pour tel oeuvre.

    Ne me reste plus qu'a réaliser le système de validation de la modification, pour lequel, j'ai également quelques difficultés ^^,

    voici le code de "case : modifier: " ( l'indentation n'étant pas encore réaliser pour les listes formulaires ^^ )

    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
    63
    64
    65
    66
    67
    68
    69
    case "modifier":
    $oeuvre_id = isset($_GET['s'])?(int) $_GET['s']:'';
    $query = $bdd->prepare('SELECT oeuvre_id, artiste_id, titre_oeuvre, description_oeuvre, image_oeuvre, oeuvre_categorie, oeuvre_style, date_crea FROM oeuvre_artiste WHERE oeuvre_id=:oeuvre_id');
    $query->bindValue(':oeuvre_id', $oeuvre_id, PDO::PARAM_INT);
            $query->execute();
            $data = $query->fetch();
    		?>
    		<form id="oeuvre_id" method="post" action="publication.php?action=modifier" enctype="multipart/form-data">';
     
    		<p class="textesimple"><label for="imageoeuvre">Changer l'image : </label><input type="file" name="imageoeuvre" id="imageoeuvre"/>
    (max : 10 Mo)<br /><br /><label><input type="checkbox" name="delete" value="Delete"/>Supprimer l'oeuvre</label> actuel : <img src="./images/oeuvres/<?php echo $data['image_oeuvre'] ?>" class="imageoeuvre" alt="image"/></p>
     
    		<p class="textesimple"><label for="titreoeuvre">Titre de l'oeuvre : </label><input type="text" name="titreoeuvre" id="titreoeuvre" value="<?php echo $data['titre_oeuvre'] ?>" /></p>
     
    		<p class="textesimple"><label for="titreoeuvre">Description : </label><input type="text" name="descriptionoeuvre" id="descriptionoeuvre" value="<?php echo $data['description_oeuvre']?>"/></p>
     
    		<div id="encpubldiv"><label for="categorie"><p class="textesimplesans">Catégorie : </label>
           <select name="oeuvre_categorie" id="categorie" value="<?php echo $data['oeuvre_categorie'] ?>">
     
    	 	   <option value="autre" <?php if("autre"==$data['oeuvre_categorie']){?> selected <?php } ?>>Autre...</option>
               <option value="bandedessine" <?php if("bandedessine"==$data['oeuvre_categorie']){?> selected <?php } ?>>Bande dessinée</option>
               <option value="peinture" <?php if("peinture"==$data['oeuvre_categorie']){?> selected <?php } ?>>Peinture</option>
               <option value="croquis" <?php if("croquis"==$data['oeuvre_categorie']){?> selected <?php } ?>>Croquis</option>
               <option value="dessin" <?php if("dessin"==$data['oeuvre_categorie']){?> selected <?php } ?>>Dessin</option>
    		   <option value="graphe" <?php if("graphe"==$data['oeuvre_categorie']){?> selected <?php } ?>>Graphe</option>
     
           </select></p></div>
     
    	   <div id="encpubldiv"><label for="style"><p class="textesimplesans">Style : </label>
           <select name="oeuvre_style" id="style" value="<?php echo $data['oeuvre_style'] ?>">
    		   <option value="autre" <?php if("autre"==$data['oeuvre_style']){?> selected <?php } ?>>Autre...</option>
               <option value="abstrait" <?php if("abstrait"==$data['oeuvre_style']){?> selected <?php } ?>>Abstrait</option>
    		   <option value="arturbain" <?php if("arturbain"==$data['oeuvre_style']){?> selected <?php } ?>>Art urbain</option>
    		   <option value="baroc" <?php if("baroc"==$data['oeuvre_style']){?> selected <?php } ?>>Baroc</option>
    		   <option value="cubisme" <?php if("cubisme"==$data['oeuvre_style']){?> selected <?php } ?>>Cubisme</option>
    		   <option value="dadaisme" <?php if("dadaisme"==$data['oeuvre_style']){?> selected <?php } ?>>Dadaisme</option>
    		   <option value="expressionnisme" <?php if("expressionnisme"==$data['oeuvre_style']){?> selected <?php } ?>>Expressionnisme</option>
    		   <option value="fauvisme" <?php if("fauvisme"==$data['oeuvre_style']){?> selected <?php } ?>>Fauvisme</option>
    		   <option value="futurisme" <?php if("futurisme"==$data['oeuvre_style']){?> selected <?php } ?>>Futurisme</option>
    		   <option value="gothisme" <?php if("gothique"==$data['oeuvre_style']){?> selected <?php } ?>>Gothisme</option>
    		   <option value="hyperrealisme" <?php if("hyperrealisme"==$data['oeuvre_style']){?> selected <?php } ?>>Hyperrealisme</option>
    		   <option value="impressionnisme" <?php if("impressionnisme"==$data['oeuvre_style']){?> selected <?php } ?>>Impressionnisme</option>
    		   <option value="rococo" <?php if("rococo"==$data['oeuvre_style']){?> selected <?php } ?>>Rococo</option>
    		   <option value="romantisme" <?php if("romantisme"==$data['oeuvre_style']){?> selected <?php } ?>>Romantisme</option>
    		   <option value="lettrisme" <?php if("lettrisme"==$data['oeuvre_style']){?> selected <?php } ?>>Lettrisme</option>
    		   <option value="modernisme" <?php if("modernisme"==$data['oeuvre_style']){?> selected <?php } ?>>Modernisme</option>
    		   <option value="naturalisme" <?php if("naturalisme"==$data['oeuvre_style']){?> selected <?php } ?>>Naturalisme</option>
    		   <option value="neoclassicisme" <?php if("neoclassicisme"==$data['oeuvre_style']){?> selected <?php } ?>>Néoclassicisme</option>
    		   <option value="neogothique" <?php if("neogothique"==$data['oeuvre_style']){?> selected <?php } ?>>Néogothique</option>
               <option value="pointillisme" <?php if("pointillisme"==$data['oeuvre_style']){?> selected <?php } ?>>Pointillisme</option>
    		   <option value="popart" <?php if("popart"==$data['oeuvre_style']){?> selected <?php } ?>>Popart</option>
    		   <option value="photorealisme" <?php if("photorealisme"==$data['oeuvre_style']){?> selected <?php } ?>>Photoréalisme</option>
    		   <option value="postimpressionnisme" <?php if("postimpressionnisme"==$data['oeuvre_style']){?> selected <?php } ?>>Postimpressionnisme</option>
    		   <option value="punk" <?php if("punk"==$data['oeuvre_style']){?> selected <?php } ?>>Punk</option>
    		   <option value="surrealisme" <?php if("surrealisme"==$data['oeuvre_style']){?> selected <?php } ?>>Surréalisme</option>
    		   <option value="symbolisme" <?php if("symbolisme"==$data['oeuvre_style']){?> selected <?php } ?>>Symbolisme</option>
           </select></p></div>
     
    	    <p class="textesimple"><label for="datecreaoeuvre">Date de  création : </label><input type="text" name="datecreaoeuvre" id="descriptionoeuvre" value="<?php echo $data['date_crea'] ?>"/></p>
     
    		<p class="classinscr"><input type="submit" value="Modifier une publication" />
            <input type="hidden" id="sent" name="sent" value="1" />
            </p></form>
     
            <?php
     
    		$query->CloseCursor();
     
    	  break;
    Pour la partie fonction, je peux réutiliser celui de la publication en utilisant des requête UPDATE au lieu de INSERT ? voici le code de ma page publication ( switch : defaut : )

    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
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    <form method="post" action="" enctype="multipart/form-data">
     
    <legend><p class="textesimple"><b>Ajout d'une oeuvre</b></p></legend>
    <div id="encartpubldiv"><div id="encpubldiv"><label for="titre"><p class="textesimple">Titre : </label><input type="text" name="titre_oeuvre" id="oeuvretitre" placeholder="Choisissez un titre"/></p></div>
     
    <legend><p class="textesimple"><b>Sélectionnez une oeuvre</b></p></legend>
     
    <div id="encpubldiv"><label for="oeuvre"><p class="textesimple">Image : </label><input type="file" name="image_oeuvre" class="inputenvoie"/></p></div>
     
    <legend><p class="textesimple"><b>Décrivez votre oeuvre</b></p></legend>
     
    <div id="encpubldiv"><label for="description"><p class="textesimple">Description : </label><textarea name="description_oeuvre" id="description" cols="40" rows="5" placeholder="Ecrivez une description de votre oeuvre ici !"></textarea></p></div>
     
    <legend><p class="textesimple"><b>Classification</b></p></legend>
     
     <div id="encpubldiv"><label for="categorie"><p class="textesimplesans">Catégorie : </label>
           <select name="oeuvre_categorie" id="categorie">
           <option value="autre">Autre...</option>
               <option value="bandedessine">Bande dessinée</option>
               <option value="peinture">Peinture</option>
               <option value="croquis">Croquis</option>
               <option value="dessin">Dessin</option>
    		   <option value="graphe">Graphe</option>
     
           </select></p></div>
     
    	  <div id="encpubldiv"><label for="style"><p class="textesimplesans">Style : </label>
           <select name="oeuvre_style" id="style">
    		   <option value="autre">Autre...</option>
               <option value="abstrait">Abstrait</option>
    		   <option value="arturbain">Art urbain</option>
    		   <option value="baroc">Baroc</option>
    		   <option value="cubisme">Cubisme</option>
    		   <option value="dadaisme">Dadaisme</option>
    		   <option value="expressionnisme">Expressionnisme</option>
    		   <option value="fauvisme">Fauvisme</option>
    		   <option value="futurisme">Futurisme</option>
    		   <option value="gothisme">Gothisme</option>
    		   <option value="hyperrealisme">Hyperrealisme</option>
    		   <option value="impressionnisme">Impressionnisme</option>
    		   <option value="rococo">Rococo</option>
    		   <option value="romantisme">Romantisme</option>
    		   <option value="lettrisme">Lettrisme</option>
    		   <option value="modernisme">Modernisme</option>
    		   <option value="naturalisme">Naturalisme</option>
    		   <option value="neoclassicisme">Néoclassicisme</option>
    		   <option value="neogothique">Néogothique</option>
               <option value="pointillisme">Pointillisme</option>
    		   <option value="popart">Popart</option>
    		   <option value="photorealisme">Photoréalisme</option>
    		   <option value="postimpressionnisme">Postimpressionnisme</option>
    		   <option value="punk">Punk</option>
    		   <option value="surrealisme">Surréalisme</option>
    		   <option value="symbolisme">Symbolisme</option>
           </select></p></div>
     
    <legend><p class="textesimple"><b>Date de réalisation</b></p></legend>
     
    <div id="encpubldiv"><label for="datecreaoeuvre"><p class="textesimple">Date de création : </label><input type="text" name="date_crea" id="datecreaoeuvre" placeholder="AAAA-MM-JJ"/></p></div>
     
    <input type="submit" name="envoyer" value="envoyer" class="inputenvoie"/>
    </div></form>
     
    <?php
    	if (isset($_POST['envoyer'])) 
    { 
    if (!empty($_FILES))
    {
    $imgpublication=$_FILES['image_oeuvre']['name'];
    $ext = strtolower(pathinfo($imgpublication,PATHINFO_EXTENSION));
    $allow_ext = array('jpg','png','gif','bmp','jpeg');
    if (in_array($ext,$allow_ext))
    {
    	$destination ="./images/oeuvres/".$imgpublication;
    move_uploaded_file($_FILES['image_oeuvre']['tmp_name'],$destination);
     
     $id=($_SESSION['membre_id']);
     $titre = ($_POST['titre_oeuvre']);
     $oeuvre_description = ($_POST['description_oeuvre']);
     $cat = ($_POST['oeuvre_categorie']);
     $styl = ($_POST['oeuvre_style']);
     $datecreaoeuvre = ($_POST['date_crea']);
     
     }
    else
    {
    	$erreurpublication = '<p class="texteerror">'."Votre fichier contient une mauvaise extension, ou n'est pas une image.".'</p>';
    }
     
     if(empty($id) OR empty($imgpublication) OR empty($titre) OR empty($cat) OR empty($styl) OR empty($oeuvre_description))
        {
        echo '<p class="textewarning">'."Vous devez remplir tous les champs".'</p>';
        }
     else
     {
    try
    {
     $req = $bdd->prepare('INSERT INTO oeuvre_artiste (artiste_id, titre_oeuvre, description_oeuvre, image_oeuvre, oeuvre_categorie, oeuvre_style, date_crea, date_edit) VALUES(:artiste_id,:titre_oeuvre,:description_oeuvre,:image_oeuvre,:oeuvre_categorie,:oeuvre_style,:date_crea, NOW())');
     
    $req->bindValue(':artiste_id', $id, PDO::PARAM_INT);
    $req->bindValue(':titre_oeuvre', $titre, PDO::PARAM_STR);
    $req->bindValue(':description_oeuvre', $oeuvre_description, PDO::PARAM_STR);
    $req->bindValue(':image_oeuvre', $imgpublication, PDO::PARAM_STR);
    $req->bindValue(':oeuvre_categorie', $cat, PDO::PARAM_INT);
    $req->bindValue(':oeuvre_style', $styl, PDO::PARAM_INT);
    $req->bindValue(':date_crea', $datecreaoeuvre, PDO::PARAM_INT);
     
    $req->execute();
     }
    catch (Exception $e)
    {
            die('Erreur : ' . $e->getMessage());
    }
    echo '<p class="textevalide">'."L'envoie à bien été effectué !".'</p>';
     }
    }
     
     if (isset($erreurpublication))
     {
    	 echo $erreurpublication;
     }
     
    }
    }
     
     }
    Merci encore pour votre attention et votre aide,
    Sincèrement ^^.

Discussions similaires

  1. Réponses: 2
    Dernier message: 13/04/2015, 17h57
  2. [Admin] [BO XIR3] Modification de l'objet du mail lors d'une publication
    Par lascar972 dans le forum Administration-Migration
    Réponses: 1
    Dernier message: 28/03/2012, 09h01
  3. [MySQL] Modification des données d'une base par les membres
    Par pod1978 dans le forum PHP & Base de données
    Réponses: 5
    Dernier message: 22/03/2006, 17h25
  4. Membres statiques d'une classe et erreur de linkage
    Par Neilos dans le forum C++Builder
    Réponses: 10
    Dernier message: 09/02/2006, 23h06
  5. membre statique dans une classe
    Par motrin dans le forum VB 6 et antérieur
    Réponses: 4
    Dernier message: 30/12/2005, 15h15

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