7 moi
public text v1 · immutable// Affichage des objets classement 1.
$objets1query = doquery ("SELECT * FROM {{table}} ","items");
$res = $db_object->query($objets1query);
$i=0;
while($row =$res->fetchRow(DB_FETCHMODE_ASSOC))
{
$tabl[$i]["0"]=$row["id"];
$tabl[$i]["1"]=$row["type"];
$tabl[$i]["2"]=$row["name"];
$tabl[$i]["3"]=$row["buycost"];
$tabl[$i]["4"]=$row["image"];
$tabl[$i]["5"]=$row["description"];
$i++;
}