Richard Davey wrote: > What data type do the referer / friend_id columns have in MySQL? int? > tinyint? etc Ahh of course. That'll be it. The different tables will have different definitions of the friend_id field and one will be overflowing! Well spotted Richard.... wood for the trees for me today! Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php