Jump to content

[SOLVED] Where on earth are these )))))) coming from?


Recommended Posts

I have made a function, that displays an image and a title in a table.

 

function drawimage($directory, $number, $picturename)    //$directory must be in form "image/folder/"

{     

echo '<tr><td><div align="center"><a href="'.$directory.$number.'.JPG"

rel="lightbox[group]" title="'.$picturename.'"><img src="'.$directory.'t'.$number.'.JPG"

border="0"></a></div></td> <td><div align="left">'.$picturename.'</div></td></tr>)';

}

 

the page that is calling the function has the following text:

 

 

<table cellpadding="5" cellspacing="0" border="0">

<?php

drawimage("image/colour/", 1, "tower");

drawimage("image/colour/", 2, "crazy lights");

drawimage("image/colour/", 3, "a cow");

drawimage("image/colour/", 4, "kettle");

drawimage("image/colour/", 5, "tramway");

drawimage("image/colour/", 6, "snapple");

drawimage("image/colour/", 7, "strasbourg roofs");

drawimage("image/colour/", 8, "swiss woods");

?>

</table>

 

and the images and tables all display fine, except: )))))))) appears just above the images.

 

And i can't work out why!

 

Over to you. you can see it failing in action at http://saltandlightsolutions.com/test/jt/main.php?page=colour

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.