J´ai mis ça comme code:
include(´http://mondessin.imperiale.org/phpbb/albu
m_pic.php?pic_id=.´.$pic_id);
ça me répond: "ce dessin n´existe pas"
Ce qui veut dire qu´en fait, il ne prend pas $pic_id en compte... Je ne sais pas comment faire
Voici le code complet pour l´instant:
<?php
$connection=mysql_connect(´localhost´,´********´,´
mysql_select_db ("mondessin");
$variable = mysql_query ("SELECT * FROM phpbb_album ORDER BY pic_id DESC /* par ordre decroissant */ LIMIT 0,1 /* et il prend la premiere */ ");
while ($afficher = mysql_fetch_array ($variable))
{
echo $afficher[´pic_id´];
}
{
$pic_id = $afficher[´pic_id´];
}
include(´http://mondessin.imperiale.org/phpbb/albu
m_pic.php?pic_id=.´.$pic_id);
mysql_close();
?>