CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

Aide Codage (serveur local)

XIII-Snow
XIII-Snow
Niveau 5
11 mai 2015 à 09:20:29

Bonjour,je suis bloqué sur un codage en local,pourriez vous m'aider ?

<body>
<table border="2" cellpadding="5" cellspacing="0">
<tr>
<!--en tête-->
<th>Titre</th>
<th>Date de sortie</th>
<th>Genre</th>
<th>Support</th>
<th>Prix</th>
</tr>
<?php
while($enregistrement=mysql_fetch_array($jeu) ){
//recuperation du champ "Titre"
$Titre=$enregistrement->Titre;
//recuperation du champ "Date de sortie"
$Date_de_sortie=$enregistrement->Date_de_sortie;
//recuperation du champ "Genre"
$Genre=$enregistrement->Genre;
//recuperation du champ "Support"
$Support=$enregistrement->Support;
//recuperation du champ "Prix"
$Prix=$enregistrement->Prix;
?>
<tr>
<!--affichage des champs-->
<td><?php echo $Titre ?></td>
<td align="center"><?php echo $Date_de_sortie ?></td>
<td><?php echo $Genre ?></td>
<td><?php echo $Support ?></td>
<td><?php echo $Prix ?></td>
</tr>
<?php
}
?>
</table>
</body>

Merci !

Guklam-
Guklam-
Niveau 10
11 mai 2015 à 10:54:56

Qu'est ce qui ne va pas?

Hironos
Hironos
Niveau 10
11 mai 2015 à 15:58:46

Voici notre problème:

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Program Files\EasyPHP 2.0b1\www\Jeuxvideo\liste.jeux on line 37

Si vous le souhaitez, nous pouvons mettre tout le code de notre fichier .php

Merci beaucoup

Sous forums
  • Aide à l'achat Mac
  • Création de Jeux
  • Linux
  • Création de sites web
  • Programmation
  • Internet
  • Steam Deck
  • Macintosh
  • Hardware
La vidéo du moment