Statistics: Posted by Cristián Lávaque — January 12th, 2012, 6:06 am
Statistics: Posted by satdaya — January 10th, 2012, 1:12 pm
Statistics: Posted by carblanco — June 23rd, 2011, 2:54 am
Statistics: Posted by carblanco — June 15th, 2011, 5:06 am
Statistics: Posted by carblanco — June 14th, 2011, 3:12 am
Statistics: Posted by Cristián Lávaque — June 14th, 2011, 2:53 am
Statistics: Posted by carblanco — June 14th, 2011, 2:25 am
$users_with_company_field = array(
'The Company' => array(/* All this user's data you got with your query */),
// More users...
);
Statistics: Posted by Cristián Lávaque — June 13th, 2011, 8:28 pm
$query = array("d"=>"lemon", "a"=>"orange", "b"=>"banana", "c"=>"apple");
ksort($query);
foreach ($query as $company_name => $val) {
echo "$company_name = $val\n";
}
Statistics: Posted by carblanco — June 13th, 2011, 7:28 am
carblanco wrote:
Can anybody help me with this newie question?
Right now I hava a list ordered as:
- Code:
$query = "
SELECT $wpdb->users.ID, $wpdb->users.user_nicename
FROM $wpdb->users
INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id
WHERE $meta_values
ORDER BY $wpdb->users.ID LIMIT $offset, $limit";
And what I need is ordering by a s2member custom field called "company name". How?
Thanks.
Statistics: Posted by Cristián Lávaque — June 12th, 2011, 1:25 pm
Statistics: Posted by carblanco — June 12th, 2011, 4:47 am
Statistics: Posted by carblanco — June 10th, 2011, 12:22 pm
Statistics: Posted by carblanco — June 10th, 2011, 1:57 am
Statistics: Posted by carblanco — June 9th, 2011, 12:06 pm