Twitter API Consulting

Free open source code for Twitter API Engagement Programming


// Copyright (c) 2013 Adam Green. All rights reserved.
// See for licensing of this code.

function get_user_profile($user_id) {
	global $db;

	$query = "SELECT * 
		FROM users
		WHERE user_id = $user_id";

	return $db->select_array($query);

I'm a member of the #140dev Twitter development community - join us for free source code and tutorials: