[insert_php]
global $wpdb;
$result = $wpdb->get_results(“SELECT name,fans FROM wp_umcs ORDER BY fans DESC LIMIT 50”);
if ( $result ) {
$counter = 1;
echo “
Name | Fans | |
---|---|---|
‘ . $counter. ‘ | ‘ . $row->name. ‘ | ‘ . $row->fans. ‘ |
“;
}
[/insert_php]
[insert_php]
global $wpdb;
$result = $wpdb->get_results(“SELECT name,fans FROM wp_umcs ORDER BY fans DESC LIMIT 50”);
if ( $result ) {
$counter = 1;
echo “
Name | Fans | |
---|---|---|
‘ . $counter. ‘ | ‘ . $row->name. ‘ | ‘ . $row->fans. ‘ |
“;
}
[/insert_php]