My personal blog. https://blog.airikr.me
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
473 B

<?php
require_once '../site-settings.php';
$comment = sql("SELECT *
FROM comments
WHERE id = :_idcomment
", Array(
'_idcomment' => strip_tags(htmlspecialchars($_GET['idc']))
), 'fetch');
echo $comment['visitor_name'].'|';
echo (empty($comment['visitor_email']) ? 'no-email' : 'email').'|';
echo $comment['visitor_url'].'|';
echo $comment['visitor_comment'].'|';
echo (empty($comment['visitor_ipaddress']) ? 'no-ip' : null);
?>