This commit is contained in:
Zhuk Viatcheslav
2020-11-20 12:57:59 +03:00
parent bfd1e77252
commit c609961ab7

View File

@@ -328,7 +328,7 @@ function readtext_kuri($hash, $page = 1, $promo = 'full'){
$author_id = $news['author_id']; $author_id = $news['author_id'];
} }
$authorname = db_get("SELECT `authorname` FROM `authors` WHERE `author_id` = $author_id LIMIT 1"); $authorname = db_get("SELECT `authorname` FROM `authors` WHERE `author_id` = $author_id LIMIT 1");
print_r($authorname); echo $authorname['authorname'];
//print_r($content); //print_r($content);