PB PHP array
Résolu
ffmanfan
-
ffmanfan -
ffmanfan -
Bonjour,
j'ai un problème avec mon cod php. Je souhaite afficher dans une colone une description au format texte qui est en mémoire dans une base de donnée.
Voici mon code:
if ($connexion)
{
mysql_select_db("dmc",$connexion);
$resultat = mysql_query('select Description from armes_blanches where Id="reb"');
while ($ligne=mysql_fetch_assoc($resultat))
{
echo'<table border="2">';
echo'<tr><th>Images</th><th>Descriptions</th></tr>';
echo'<tr><td><img src="rebelion.png"></td><td>'.$ligne.'</td></tr>';
}
}
help C pour mon bts
Merci d'avance.
j'ai un problème avec mon cod php. Je souhaite afficher dans une colone une description au format texte qui est en mémoire dans une base de donnée.
Voici mon code:
if ($connexion)
{
mysql_select_db("dmc",$connexion);
$resultat = mysql_query('select Description from armes_blanches where Id="reb"');
while ($ligne=mysql_fetch_assoc($resultat))
{
echo'<table border="2">';
echo'<tr><th>Images</th><th>Descriptions</th></tr>';
echo'<tr><td><img src="rebelion.png"></td><td>'.$ligne.'</td></tr>';
}
}
help C pour mon bts
Merci d'avance.
A voir également:
- PB PHP array
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Retour a la ligne php - Forum Webmastering
- Alert php - Forum PHP
- Retour a la ligne php ✓ - Forum PHP