andymin Posted February 5, 2003 Share Posted February 5, 2003 I am just finishing the layout of a store: http://www.rocketdesign.co.uk/shop/catalog/default.php but would like the center 'new products' section (new_products.php) to look the same a the other boxes i have almost done this without creating another box class, but rather i have just pasted some html into new_products.php, the only thing i am struggling to do is include the 'month' snipped... <tr> <td height="14" valign="middle" class="infoBoxHeading"><?php echo TABLE_HEADING_NEW_PRODUCTS, strftime('%B')); ?></td> </tr> </table><br /> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B'))); new contentBoxHeading($info_box_contents); if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) { what is the correct syntax for this line, i have tried a few different things but cannot get it to print the month: <td height="14" valign="middle" class="infoBoxHeading"><?php echo TABLE_HEADING_NEW_PRODUCTS, strftime('%B')); ?></td> any help would be appreciated regards Andrew Link to comment Share on other sites More sharing options...
andymin Posted February 6, 2003 Author Share Posted February 6, 2003 please!, to make it simpler, what would be the correct syntax in the line below. <td height="14" valign="middle" class="infoBoxHeading"><?php echo TABLE_HEADING_NEW_PRODUCTS, strftime('%B')); ?></td> regards andrew Link to comment Share on other sites More sharing options...
andymin Posted February 7, 2003 Author Share Posted February 7, 2003 anyone? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.