Custom Fields displaying in single line

Probably not the best solution, but why don’t you try the following: while ( have_posts() ) : the_post(); ?> <div><?php $key_name = get_post_custom_values ($key = ‘country’); echo ‘Country : ‘, $key_name[0]; ?> </div> <div><?php $key_name = get_post_custom_values ($key = ‘status’); echo ‘Status : ‘, $key_name[0]; ?> </div>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)