Jump to content

[SOLVED] Newbie ? Need to put a < br > in statement


pcjames

Recommended Posts

Hi All I'm new to php and I'm trying real hard to learn this so please be kind to me. ;)

 

I'm trying to add a < br > to the below statement right after $reviews['reviews_text' (at the end of statement)

 

while ($reviews = tep_db_fetch_array($reviews_query)) {
  $info_box_contents[][0] = array('align' => 'left',
                                  'params' => 'class="Info" valign="top"',
                                  'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . (int)$HTTP_GET_VARS['products_id'] . '&reviews_id=' . $reviews['reviews_id']) . '"><b>' . $reviews['customers_name'] . '</b> - ' . tep_date_short($reviews['date_added']) . ' ' . tep_image(DIR_WS_IMAGES . 'stars_' . $reviews['reviews_rating'] . '.gif' , sprintf(BOX_REVIEWS_TEXT_OF_5_STARS, $reviews['reviews_rating'])) . '</a><br> ' . $reviews['reviews_text']) ;
}

 

Thanks in advance for any help you can provide me, James

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.