stl7997 |
01-11-2011 09:32 AM |
Quote:
Originally Posted by Lynne
(Post 2147377)
Can't you just add a <br /> where you want a break?
|
Yes that is exactly what I want to do, however I'm a complete noob to PHP. I've tried adding the <br /> in different places to the code but cannot get the desired results.
Where would I add the <br /> in this code? Or is this even the right place to place it?
Sorry for such rookie questions :o
PHP Code:
// for single-line fields - using fieldy
if ($post['fieldy']) {
$template_hook['postbit_userinfo_right_after_posts'] .= '<dt>' .$vbphrase[fieldy_title]. '</dt> <dd>' .$post[fieldy]. '</dd>';
}
// for multiple-selection fields - using filedx
if ($post['fieldx'])
{
$fieldarrayx = $post['profilefieldx'];
fetch_profilefield_display($fieldarrayx, $post['fieldx']);
$template_hook['postbit_userinfo_right_after_posts'] .= '<dt>' .$vbphrase[fieldx_title]. '</dt> <dd>' .$fieldarrayx['value']. '</dd>';
}
|