Ok, let me explain exactly what is happening. On a page, try printing out
this code:
foreach($imgs as $copy) {
echo option$copy/option;
}
$imgs is of course an array. The code though goes through all the $imgs and
displays as so
option
image1/option
option
image2/option
option
Well, PHP is not adding the line-feed. It must be in your $copy values.
Run trim() on it before displaying:
echo 'option'.trim($copy).'/option';
-Rasmus
On Wed, 3 Oct 2001, Dominik wrote:
Ok, let me explain exactly what is happening. On a page, try printing out
this code:
2 matches
Mail list logo