Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
trash
/
vhost_www.art2t.fr_1669198987
/
htdocs
/
functions
/
/srv/data/trash/vhost_www.art2t.fr_1669198987/htdocs/functions/page.php
<?php function displayBloc($numBloc){ global $dbh; global $page; $numBloc--; $stmt=$dbh->prepare("SELECT * FROM `text_bloc` tb INNER JOIN page AS p ON p.id=tb.page WHERE p.title LIKE :content LIMIT :numElts, 1"); // on prépare notre requête $stmt->bindParam(':content', substr($page,6,-4)); $stmt->bindParam(':numElts', $numBloc, PDO::PARAM_INT); $stmt->execute(); $row=$stmt->fetch(); return $row->content; }