<?php $im = mysqli_fetch_array(db_query("SELECT text FROM ". $db_prefix ."_texte WHERE name = 'faq' ")); $text = str_replace("{faga}","<div class=\"panel panel-default\">",$im['text']); $text = str_replace("{Uumla}","<div class=\"panel-heading\"><h3 class=\"panel-title\">",$text); $text = str_replace("{Uumle}","</h3></div>",$text); $text = str_replace("{anta}","<div class=\"panel-body\">",$text); $text = str_replace("{ante}","</div>",$text); $text = str_replace("{fage}","</div>",$text); $text = str_replace("<br />","",$text); echo $text;