这就是成功的原因:
function find_highest_bid(){
global $wpdb;
$postid = get_the_id();
$table = $wpdb->prefix . "jwp_bids";
$highest_bid = $wpdb->get_results(
"Select max(bid_amt) AS bid, bid_time, email
FROM $table
WHERE post_id = \'1277\'", ARRAY_A );
$highest_bid = array_shift ( $highest_bid );
$high_bid = $highest_bid[\'bid\'];
$high_bidder = $highest_bid[\'email\'];
$bid_time = $highest_bid[\'bid_time\'];
echo \'$\'. $high_bid;
echo ", ";
echo $high_bidder;
echo ", ";
echo $bid_time;
}