Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Place image in box


Proenski

Recommended Posts

Posted

I tried to place an image inside a (custom made) box:

 

<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => 'Your host');

 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
 $info_box_contents[] = array('align' => 'center',
							  echo "<img src="foto.jpg".img">
						   'text' => 'Mister X');

 new infoBox($info_box_contents);
?>

 

But since I'm not a PHP expert I miserably failed... who helps me out??

  • 2 weeks later...
Posted
Never mind I got it, overlooked a small thing :blush:

 

 

Hey, I'm working on something similar... Could you please post your working code?

Archived

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

×
×
  • Create New...