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

Bibliothèques et frameworks PHP Discussion :

[SimpleXML] Mise à jour de la base de données


Sujet :

Bibliothèques et frameworks PHP

  1. #1
    Invité
    Invité(e)
    Par défaut [SimpleXML] Mise à jour de la base de données
    Bonjour,

    je veux faire la mise à jour de la base de donnée je fait echo pour afficher toute les données après faire update de la table mais s'afficher juste availability
    - From: 2010-12-28 - To: 2010-12-28 - Quantity: 1 et le reste non je sais pas pourquoi voir mon code :
    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
    $message = new SimpleXMLElement($fluxXml);
     
    //------------------- EXEMPLE EXTRAIRE login&pass--------------------------------------
    echo '<strong>availability</strong><br>';
    foreach ($message->authentication  as $character) {
       echo '- login: '.$character['login'].' - Pass: '.$character['password'].'<br>';
    }
    include_once 'connect.php';
    mysql_select_db($dbname, $conn);
     
    $sqlp ="SELECT jo_jomres_partenaire.login, jo_jomres_partenaire.pass
            FROM jo_jomres_partenaire ";
            $req = mysql_query($sqlp)or die(mysql_error());
            $datalog = mysql_fetch_assoc($req);
            if($datalog['login']=$character['login'] and ($datalog['pass']=$character['password'])) {
            echo '<strong>Bon test login & pass</strong><br>';
     
            }
     
     
    //------------------- EXEMPLE EXTRAIRE hotelID -----------------------------------------------
    echo '<strong>hotelID</strong><br>';
    foreach ($message->inventoryUpdate as $character) {
        $hotelid=$character['hotelId'];
       echo '- hotel Id: '.$character['hotelId'].' <br>';
    }
    //------------------- EXEMPLE EXTRAIRE room ID -----------------------------------------------
    echo '<strong>room ID</strong><br>';
    foreach ($message->inventoryUpdate->room as $rooms) {
        $chid=$rooms['id'];
       echo '- room Id: '.$rooms['id'].' <br>';
     
       //------------------- EXEMPLE EXTRAIRE availability -----------------------------------------------
       echo '<strong>availability</strong><br>';
       foreach($rooms->inventory->availability as $character) {
       echo '- From: '.$character['from'].' - To: '.$character['to'].' - Quantity: '.$character['quantity'].'<br>';
       $qte=$character['quantity'];
       $from=$character['from'];
       $to=$character['to'];
       list($y,$m,$d)=explode('-',$from);
       list($yt,$mt,$dt)=explode('-',$to);
     
       $timefrom=mktime(0,0,0,$m,$d,$y);
       $timeto=mktime(0,0,0,$mt,$dt,$yt);
     
        $xtable='jo_jomres_schedule_'.$hotelid;
        echo 'xtable';
     
       for($ii=$timefrom;$ii<=$timeto;$ii+=86400){
     
           $dateam=date('Y-m-d',$ii);
            //Condition Si Existe dans la base de donnees
           $res=mysql_query("select * from ".$xtable." WHERE room_uid = ".$chid." and jour = '".$dateam."'") or die("<br/><br/>".mysql_error());
           if(mysql_num_rows($res) == 1){
          //SI Resultat OUI : METTRE UPDATE
          //mysql_query("UPDATE ".$xtable." SET jour = '".$dateam."', nbr_dispo= ".$qte." WHERE room_uid = ".$chid." and jour = '".$dateam."'");
          }
     
          //SI Resultat NON : INSERTION
          if(mysql_num_rows($res) == 0){
           mysql_query("Insert ...");
     
           }
         }
       //------------------- EXEMPLE EXTRAIRE RATE -----------------------------------------------
    foreach ($rooms->rate as $rates) {
     
       switch((string) $rates['rateName']) {
        case 'Best Available Rate':
        echo '- currency '.$rates['currency'].' - rateCode: '.$rates['rateCode'].' - rateName: '.$rates['rateName'].'<br>';
            echo $rates, '<br> <strong>Best Available Rate</strong>';
            foreach ($rates->planning as $character) {
         echo '<br>- From: '.$character['from'].' - To: '.$character['to'].' - minimumStay: '.$character['minimumStay'].'- unitPrice: '.$character['unitPrice'].'- noArrival: '.$character['noArrival'].'<br>';
     
    }
            break;
        case 'Package Offer':
            echo '- currency '.$rates['currency'].' - rateCode: '.$rates['rateCode'].' - rateName: '.$rates['rateName'].'<br>';
            echo $rates, '<br> <strong>Package Offer</strong>';
            foreach ($rates->planning as $character) {
         echo '<br>- From: '.$character['from'].' - To: '.$character['to'].' - minimumStay: '.$character['minimumStay'].'- unitPrice: '.$character['unitPrice'].'- noArrival: '.$character['noArrival'].'<br>';
     
    }
            break;
        case 'Public Price':
            echo '- currency '.$rates['currency'].' - rateCode: '.$rates['rateCode'].' - rateName: '.$rates['rateName'].'<br>';
            echo $rates, '<br> <strong>Public Price</strong>';
            foreach ($rates->planning as $character) {
         echo '<br>- From: '.$character['from'].' - To: '.$character['to'].' - minimumStay: '.$character['minimumStay'].'- unitPrice: '.$character['unitPrice'].'- noArrival: '.$character['noArrival'].'<br>';
     
    }
            break;
     
        }
     
    }
     
    }
    fichier XML
    Code xml : 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
    <message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <authentication login="Availpro" password="admin" />
    <inventoryUpdate hotelId="4">
      <room id="B3T">
       <inventory>
        <availability from="2010-12-28" to="2010-12-28" quantity="1" />
        <availability from="2010-12-29" to="2010-12-31" quantity="1" />
        <availability from="2011-01-01" to="2011-01-01" quantity="1" />
        <availability from="2011-01-02" to="2011-03-31" quantity="1" />
        <availability from="2011-04-01" to="2011-12-30" quantity="1" />
    </inventory>
    <rate currency="EUR" rateCode="BAR" rateName="Best Available Rate">
      <planning from="2010-12-28" to="2010-12-15" minimumStay="1" unitPrice="210"
    noArrival="false" isClosed="false" />
      <planning from="2010-12-29" to="2010-12-31" minimumStay="1" unitPrice="273"
    noArrival="false" isClosed="false" />
      <planning from="2011-01-01" to="2011-01-01" minimumStay="1"
    unitPrice="340.0000" noArrival="false" isClosed="false" />
      <planning from="2011-01-02" to="2011-03-31" minimumStay="1" unitPrice="294"
    noArrival="false" isClosed="false" />
     <planning from="2011-04-01" to="2011-12-30" minimumStay="1"
    unitPrice="340.0000" noArrival="false" isClosed="false" />
    </rate>
    <rate currency="EUR" rateCode="PACKAGE1" rateName="Package Offer">
      <planning from="2010-12-28" to="2010-12-16" minimumStay="1"
    unitPrice="380.0000" noArrival="false" isClosed="false" />
      <planning from="2010-12-29" to="2010-12-31" minimumStay="1"
    unitPrice="380.0000" noArrival="false" isClosed="false" />
      <planning from="2011-01-01" to="2011-01-01" minimumStay="1" unitPrice="357"
    noArrival="false" isClosed="false" />
      <planning from="2011-01-02" to="2011-03-31" minimumStay="1"
    unitPrice="340.0000" noArrival="false" isClosed="false" />
      <planning from="2011-04-01" to="2011-12-30" minimumStay="1"
    unitPrice="340.0000" noArrival="false" isClosed="false" />
    </rate>
    <rate currency="EUR" rateCode="RACKPRI" rateName="Public Price">
      <planning from="2010-12-28" to="2010-12-17" minimumStay="1"
    unitPrice="380.0000" noArrival="false" isClosed="false" />
      <planning from="2010-12-29" to="2010-12-31" minimumStay="1"
    unitPrice="380.0000" noArrival="false" isClosed="false" />
      <planning from="2011-01-01" to="2011-01-01" minimumStay="1"
    unitPrice="340.0000" noArrival="false" isClosed="false" />
      <planning from="2011-01-02" to="2011-03-31" minimumStay="1"
    unitPrice="340.0000" noArrival="false" isClosed="false" />
    <planning from="2011-04-01" to="2011-12-30" minimumStay="1"
    unitPrice="340.0000" noArrival="false" isClosed="false" />
    </rate>
    </room>
    </inventoryUpdate>
    </message>

    Merci de vous réponse
    Dernière modification par Bovino ; 31/07/2013 à 10h00.

  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
    Ton foreach ligne 29 n'est pas refermé.
    N'oubliez pas de consulter les FAQ PHP et les cours et tutoriels PHP

  3. #3
    Invité
    Invité(e)
    Par défaut
    merci pour votre réponse en fait existe déjà la fermeture
    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
    $message = new SimpleXMLElement($fluxXml);
     
    //------------------- EXEMPLE EXTRAIRE login&pass--------------------------------------
    echo '<strong>availability</strong><br>';
    foreach ($message->authentication  as $character) {
       echo '- login: '.$character['login'].' - Pass: '.$character['password'].'<br>';
    }
    include_once 'connect.php';
    mysql_select_db($dbname, $conn);
     
    $sqlp ="SELECT jo_jomres_partenaire.login, jo_jomres_partenaire.pass
            FROM jo_jomres_partenaire ";
    		$req = mysql_query($sqlp)or die(mysql_error());
    		$datalog = mysql_fetch_assoc($req);
    		if($datalog['login']=$character['login'] and ($datalog['pass']=$character['password'])) {
    		echo '<strong>Bon test login & pass</strong><br>';
     
    		}
     
     
    //------------------- EXEMPLE EXTRAIRE hotelID -----------------------------------------------
    echo '<strong>hotelID</strong><br>';
    foreach ($message->inventoryUpdate as $character) {
    	$hotelid=$character['hotelId'];
       echo '- hotel Id: '.$character['hotelId'].' <br>';
    }
    //------------------- EXEMPLE EXTRAIRE room ID -----------------------------------------------
    echo '<strong>room ID</strong><br>';
    foreach ($message->inventoryUpdate->room as $rooms) {
    	$chid=$rooms['id'];
       echo '- room Id: '.$rooms['id'].' <br>';
     
       //------------------- EXEMPLE EXTRAIRE availability -----------------------------------------------
       echo '<strong>availability</strong><br>';
       foreach($rooms->inventory->availability as $character) {
       echo '- From: '.$character['from'].' - To: '.$character['to'].' - Quantity: '.$character['quantity'].'<br>';
       $qte=$character['quantity'];
       $from=$character['from'];
       $to=$character['to'];
       list($y,$m,$d)=explode('-',$from);
       list($yt,$mt,$dt)=explode('-',$to);
     
       $timefrom=mktime(0,0,0,$m,$d,$y);
       $timeto=mktime(0,0,0,$mt,$dt,$yt);
     
        $xtable='jo_jomres_schedule_'.$hotelid;
    	echo 'xtable';
     
       for($ii=$timefrom;$ii<=$timeto;$ii+=86400){
     
    	   $dateam=date('Y-m-d',$ii);
    	    //Condition Si Existe dans la base de donnees
    	   $res=mysql_query("select * from ".$xtable." WHERE room_uid = ".$chid." and jour = '".$dateam."'") or die("<br/><br/>".mysql_error());
    	   if(mysql_num_rows($res) == 1){
    	  //SI Resultat OUI : METTRE UPDATE
    	  //mysql_query("UPDATE ".$xtable." SET jour = '".$dateam."', nbr_dispo= ".$qte." WHERE room_uid = ".$chid." and jour = '".$dateam."'");
    	  }
     
    	  //SI Resultat NON : INSERTION
    	  //if(mysql_num_rows($res) == 0){
    	  // mysql_query("Insert ...");
     
    	   //}
     
     
     
     
       }
     
     
      //------------------- EXEMPLE EXTRAIRE RATE -----------------------------------------------
    foreach ($rooms->rate as $rates) {
     
       switch((string) $rates['rateName']) {
        case 'Best Available Rate':
    	echo '- currency '.$rates['currency'].' - rateCode: '.$rates['rateCode'].' - rateName: '.$rates['rateName'].'<br>';
            echo $rates, '<br> <strong>Best Available Rate</strong>';
    		foreach ($rates->planning as $character) {
    	 echo '<br>- From: '.$character['from'].' - To: '.$character['to'].' - minimumStay: '.$character['minimumStay'].'- unitPrice: '.$character['unitPrice'].'- noArrival: '.$character['noArrival'].'<br>';
     
    }
            break;
        case 'Package Offer':
    		echo '- currency '.$rates['currency'].' - rateCode: '.$rates['rateCode'].' - rateName: '.$rates['rateName'].'<br>';
            echo $rates, '<br> <strong>Package Offer</strong>';
    		foreach ($rates->planning as $character) {
    	 echo '<br>- From: '.$character['from'].' - To: '.$character['to'].' - minimumStay: '.$character['minimumStay'].'- unitPrice: '.$character['unitPrice'].'- noArrival: '.$character['noArrival'].'<br>';
     
    }
            break;
    	case 'Public Price':
    		echo '- currency '.$rates['currency'].' - rateCode: '.$rates['rateCode'].' - rateName: '.$rates['rateName'].'<br>';
            echo $rates, '<br> <strong>Public Price</strong>';
    		foreach ($rates->planning as $character) {
    	 echo '<br>- From: '.$character['from'].' - To: '.$character['to'].' - minimumStay: '.$character['minimumStay'].'- unitPrice: '.$character['unitPrice'].'- noArrival: '.$character['noArrival'].'<br>';
     
    }
            break;
     
        }
     
    }
     
    }
    }
    mais la même chose

    Merci de votre aide

  4. #4
    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
    Avec ce code j'obtiens :

    availability
    - login: Availpro - Pass: admin
    hotelID
    - hotel Id: 4
    room ID
    - room Id: B3T
    availability
    - From: 2010-12-28 - To: 2010-12-28 - Quantity: 1
    xtable- currency EUR - rateCode: BAR - rateName: Best Available Rate

    Best Available Rate
    - From: 2010-12-28 - To: 2010-12-15 - minimumStay: 1- unitPrice: 210- noArrival: false

    - From: 2010-12-29 - To: 2010-12-31 - minimumStay: 1- unitPrice: 273- noArrival: false

    - From: 2011-01-01 - To: 2011-01-01 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-01-02 - To: 2011-03-31 - minimumStay: 1- unitPrice: 294- noArrival: false

    - From: 2011-04-01 - To: 2011-12-30 - minimumStay: 1- unitPrice: 340.0000- noArrival: false
    - currency EUR - rateCode: PACKAGE1 - rateName: Package Offer

    Package Offer
    - From: 2010-12-28 - To: 2010-12-16 - minimumStay: 1- unitPrice: 380.0000- noArrival: false

    - From: 2010-12-29 - To: 2010-12-31 - minimumStay: 1- unitPrice: 380.0000- noArrival: false

    - From: 2011-01-01 - To: 2011-01-01 - minimumStay: 1- unitPrice: 357- noArrival: false

    - From: 2011-01-02 - To: 2011-03-31 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-04-01 - To: 2011-12-30 - minimumStay: 1- unitPrice: 340.0000- noArrival: false
    - currency EUR - rateCode: RACKPRI - rateName: Public Price
    N'oubliez pas de consulter les FAQ PHP et les cours et tutoriels PHP

  5. #5
    Invité
    Invité(e)
    Par défaut
    je sais pas pourquoi pour moi s'affiche juste

    Bon test login & pass
    hotelID
    - hotel Id: 4
    room ID
    - room Id: B3T
    availability
    - From: 2010-12-28 - To: 2010-12-28 - Quantity: 1
    xtable

    Table 'sbn.jo_jomres_schedule_4' doesn't exist

    merci de votre réponse

  6. #6
    Invité
    Invité(e)
    Par défaut
    vous pouvez donner le code que vous avez mis

  7. #7
    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
    J'ai purement copié/collé le code que tu as donné.

    Tu devrais t'interesser cependant à l'erreur que tu as :
    Table 'sbn.jo_jomres_schedule_4' doesn't exist
    N'oubliez pas de consulter les FAQ PHP et les cours et tutoriels PHP

  8. #8
    Invité
    Invité(e)
    Par défaut
    oui j'ai mis en commentaire la ligne correspondant ,et s'afficher le résulat répéter plusieurs fois availability
    - From: 2010-12-28 - To: 2010-12-28 - Quantity: 1
    - currency EUR - rateCode: BAR - rateName: Best Available Rate

    Best Available Rate
    - From: 2010-12-28 - To: 2010-12-15 - minimumStay: 1- unitPrice: 210- noArrival: false

    - From: 2010-12-29 - To: 2010-12-31 - minimumStay: 1- unitPrice: 273- noArrival: false

    - From: 2011-01-01 - To: 2011-01-01 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-01-02 - To: 2011-03-31 - minimumStay: 1- unitPrice: 294- noArrival: false

    - From: 2011-04-01 - To: 2011-12-30 - minimumStay: 1- unitPrice: 340.0000- noArrival: false
    - currency EUR - rateCode: PACKAGE1 - rateName: Package Offer

    Package Offer
    - From: 2010-12-28 - To: 2010-12-16 - minimumStay: 1- unitPrice: 380.0000- noArrival: false

    - From: 2010-12-29 - To: 2010-12-31 - minimumStay: 1- unitPrice: 380.0000- noArrival: false

    - From: 2011-01-01 - To: 2011-01-01 - minimumStay: 1- unitPrice: 357- noArrival: false

    - From: 2011-01-02 - To: 2011-03-31 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-04-01 - To: 2011-12-30 - minimumStay: 1- unitPrice: 340.0000- noArrival: false
    - currency EUR - rateCode: RACKPRI - rateName: Public Price

    Public Price
    - From: 2010-12-28 - To: 2010-12-17 - minimumStay: 1- unitPrice: 380.0000- noArrival: false

    - From: 2010-12-29 - To: 2010-12-31 - minimumStay: 1- unitPrice: 380.0000- noArrival: false

    - From: 2011-01-01 - To: 2011-01-01 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-01-02 - To: 2011-03-31 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-04-01 - To: 2011-12-30 - minimumStay: 1- unitPrice: 340.0000- noArrival: false
    - From: 2010-12-29 - To: 2010-12-31 - Quantity: 1
    - currency EUR - rateCode: BAR - rateName: Best Available Rate

    Best Available Rate
    - From: 2010-12-28 - To: 2010-12-15 - minimumStay: 1- unitPrice: 210- noArrival: false

    - From: 2010-12-29 - To: 2010-12-31 - minimumStay: 1- unitPrice: 273- noArrival: false

    - From: 2011-01-01 - To: 2011-01-01 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-01-02 - To: 2011-03-31 - minimumStay: 1- unitPrice: 294- noArrival: false

    - From: 2011-04-01 - To: 2011-12-30 - minimumStay: 1- unitPrice: 340.0000- noArrival: false
    - currency EUR - rateCode: PACKAGE1 - rateName: Package Offer

    Package Offer
    - From: 2010-12-28 - To: 2010-12-16 - minimumStay: 1- unitPrice: 380.0000- noArrival: false

    - From: 2010-12-29 - To: 2010-12-31 - minimumStay: 1- unitPrice: 380.0000- noArrival: false

    - From: 2011-01-01 - To: 2011-01-01 - minimumStay: 1- unitPrice: 357- noArrival: false

    - From: 2011-01-02 - To: 2011-03-31 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-04-01 - To: 2011-12-30 - minimumStay: 1- unitPrice: 340.0000- noArrival: false
    - currency EUR - rateCode: RACKPRI - rateName: Public Price

    Public Price
    - From: 2010-12-28 - To: 2010-12-17 - minimumStay: 1- unitPrice: 380.0000- noArrival: false

    - From: 2010-12-29 - To: 2010-12-31 - minimumStay: 1- unitPrice: 380.0000- noArrival: false

    - From: 2011-01-01 - To: 2011-01-01 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-01-02 - To: 2011-03-31 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-04-01 - To: 2011-12-30 - minimumStay: 1- unitPrice: 340.0000- noArrival: false
    - From: 2011-01-01 - To: 2011-01-01 - Quantity: 1
    - currency EUR - rateCode: BAR - rateName: Best Available Rate

    Best Available Rate
    - From: 2010-12-28 - To: 2010-12-15 - minimumStay: 1- unitPrice: 210- noArrival: false

    - From: 2010-12-29 - To: 2010-12-31 - minimumStay: 1- unitPrice: 273- noArrival: false

    - From: 2011-01-01 - To: 2011-01-01 - minimumStay: 1- unitPrice: 340.0000- noArrival: false

    - From: 2011-01-02 - To: 2011-03-31 - minimumStay: 1- unitPrice: 294- noArrival: false

    - From: 2011-04-01 - To: 2011-12-30 - minimumStay: 1- unitPrice: 340.0000- noArrival: false
    - currency EUR - rateCode: PACKAGE1 - rateName: Package Offer

    comment je peut juste afficher ce qui dans le fichier est update la table
    Merci en avance

Discussions similaires

  1. [C#] [MySQL] Mise à jour de la base de donnée
    Par dev01 dans le forum Windows Forms
    Réponses: 12
    Dernier message: 01/08/2007, 09h15
  2. Réponses: 2
    Dernier message: 30/03/2007, 21h11
  3. [MySQL] Problème de mise à jour de la base de données
    Par Osiris22 dans le forum PHP & Base de données
    Réponses: 7
    Dernier message: 17/01/2006, 16h08
  4. probleme de virgule dans la mise à jour d'une base de donnée
    Par KAF dans le forum VB 6 et antérieur
    Réponses: 7
    Dernier message: 24/12/2005, 02h18
  5. mise à jour d'une base de données
    Par flo83 dans le forum ASP
    Réponses: 6
    Dernier message: 12/06/2005, 20h27

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