Forum » » Bugs, Probs ... » » [Résolu] - Souci titre Edition publication rubriques
Posté : 28 mars 2025 à 08:07
[code php] $result2 = sql_query("SELECT author, artid, secid, title, content, userlevel FROM ".$NPDS_Prefix."seccont WHERE artid='$artid'"); list($author, $artid, $secid, $title, $content, $userlevel) = sql_fetch_row($result2);[/code]et là j'ai mon titre qui s'affiche dans le textarea .. je pige pas pourquoi le content passe et pas le titre ... du coup ça donne ça :
[code php] // Fonction ARTICLES function secartedit($artid) { global $radminsuper, $hlpfile, $NPDS_Prefix, $f_meta_nom, $f_titre, $adminimg; $result2 = sql_query("SELECT author, artid, secid, title, content, userlevel FROM ".$NPDS_Prefix."seccont WHERE artid='$artid'"); list($author, $artid, $secid, $title, $content, $userlevel) = sql_fetch_row($result2); if (!$artid) Header("Location: admin.php?op=sections"); !include!("header.php"); GraphicAdmin($hlpfile); adminhead($f_meta_nom, $f_titre, $adminimg); $title = stripslashes($title); $content = stripslashes(dataimagetofile!url(!$content,'cache/s')); echo '
'.adm_translate("Editer une publication").'