Hi, I'm looking for some help on how to include formatted text in an array. I am trying to insert text values with different 'align' within the same array. Does anyone know how to do that?
Here's the code I'm trying to work out:
$info_box_contents = array();
$info_box_contents[] = array('align' => 'left', 'text' => '' . $breadcrumb->trail(' | ') . '');
$info_box_contents[] = array('align' => 'right', 'text' => '<a href="http://www.domain.com/catalog/shopping_cart.php">Shopping Bag</a> | ' . '<a href="http://www.domain.com/catalog/checkout_shipping.php">Checkout</a> | ' . '<a href="http://www.domain.com/catalog/account.php">Your account</a> | ' . '<a href="http://www.doamin.com/catalog/faq.php">Help</a>');
new infoBox($info_box_contents);