I been searching again a bit around and it seems i need to JOIN the tables of some sort, but what i need then is to figure a way out how to post the personal stuff..
The code
<?php
$fish_count = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM wp_iphorm_form_entry_data WHERE <code>value</code> LIKE 'Registrere fisk';"));
echo '<p>Total fish: ' . $fish_count . '</p>';
?>
Works great for showing everything from that field in the way i want it.
Now i wanted to try make it personal for the fisher to show more or less
<?php
$fish_count = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM wp_iphorm_form_entry_data WHERE 'value' LIKE 'Registere fisk' FULL OUTER JOIN wp_users ON wp_iphorm_form_entry_data.value = wp_users.userid WHERE 'userid';
echo '<p>Total fish: ' . $fish_count . '</p>';
?>
Any help on this