Search
 
SCRIPT & CODE EXAMPLE
 

PHP

comment_info

<?php //grab the data
$comment_info = $wpdb->get_results("SELECT DISTINCT comment_author, comment_author_email, comment_author_IP 
	FROM (SELECT DISTINCT comment_author, comment_author_email, comment_author_IP 
	FROM wp_comments 
	WHERE comment_post_ID = 1
	) AS WHATEVER"); 
// display the results
echo '<ul>';
foreach($comment_info as $info) { 
	echo '<li><strong>'. $info->comment_author .'</strong> - '. $info->comment_author_email .' - <small>'. $info->comment_author_IP .'</small></li>'; 
}
echo '</ul>';
?>
Comment

PREVIOUS NEXT
Code Example
Php :: wordpress register_post_type capability gutenberg 
Php :: function() use() php clousure examples 
Php :: wp post view1 
Php :: php count result query 
Php :: laravel length validation 
Php :: Access app.php values laravel 
Php :: Laravel/Php Carmel Casing / Title Casing 
Php :: override CouponPost.php 
Php :: php print array as string 
Php :: wpmu assign user to blog 
Php :: How to hide Directory Browsing in WordPress from server? 
Php :: laravel where has relation 
Php :: php delete acc 
Php :: array.diff solution 
Php :: laravel model undefined property 
Php :: php list all files in directory and subdirectories 
Php :: unlink() in php 
Php :: php mailer 
Php :: php 7.1.1 download 
Php :: laravel data type 
Php :: my xampp 
Php :: error logs wp 
Php :: laravel remove index.php from url 
Php :: Embed the site when you click on the link laravel 
Java :: convert string to localdatetime 
Java :: ansi colors 
Java :: string to date android 
Java :: how to clear the screen by pressing a key in java 
Java :: base64 decode java 
Java :: love2d set screen size 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =