BIBLIOTHEQUE DE DEVELOPPEMENT DURABLE
CLIENTS
[insert_php]
$mysqli = new mysqli(« localhost », « pmir47estra », « 3str4!wp!pm1r », « 4n0th3rpm1r »);
if ($mysqli->connect_errno) {
printf(« Connect failed: %s\n », $mysqli->connect_error);
exit();
}
$k = 0;
$result = $mysqli->query(« SELECT * FROM sustainability_library where type = 0 »);
//var_dump($result);
foreach ($result as $aResult)
{
if($k == 0)
{
echo(«
« .$aResult[‘title’]. »
« .$aResult[‘description’]. »
. »||target:%20_blank|’]
}
else
{
echo(«
« .$aResult[‘title’]. »
« .$aResult[‘description’]. »
. »||target:%20_blank|’]
}
$k++;
//echo $aResult[‘title’];
//echo $aResult[‘description’];
}
[/insert_php]

