Products

[insert_php]
//page produits
global $chemin;
global $wpdb;
global $table_sections;

echo ‘

‘;
echo ‘

Categories

‘;

$sections = $wpdb->get_results(« SELECT * FROM $table_sections ORDER BY section »);
$numrows = count($sections);
//print_r($sections);

if ($numrows > 0) {
echo ‘

‘;
foreach ($sections as $section)
{
$libelle = substr($section->part, 11, strlen($section->part)-11);

$sect = substr($section->part,8,1);
echo ‘

‘;
echo ‘

‘;
echo ‘

‘ . $section->NS . ‘