Jump to content

Archived

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

J.S. Coolen

Probleme with a link behind a picture

Recommended Posts

Is there someone who can help me


I want a link behind my picture, but I can't figure it out

[code] <?
//plaatje
    echo "<tr>";
    echo "<td width='8%'>Foto</td>";
    foreach($profiel as $value)
    {
    echo "<td><a href=".$value.">
    }
    foreach($plaatje as $value2)
    {
    <img height='100' src=".$value2."></a></td>";
    }
    echo "</tr>";
?> 
[/code]
wie kan mij helpen

Share this post


Link to post
Share on other sites
I've had a look at your page and it appears to be fine.  Are you still having problems.

Regards
Huggie

Share this post


Link to post
Share on other sites
http://www.jcsl.nl/martin/compare.php?Lamp=1

The picture you see in the table should be the first picture, not the last, the link is correct.

But the other pictures are outside of the table

Share this post


Link to post
Share on other sites
It's your html code you need to brush up on ok.

I done it for you but you need to put the correct pic name to the links ok.

[code]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0044)http://www.jcsl.nl/martin/compare.php?Lamp=1 -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<BODY>
<TABLE align=center border=1>
  <TBODY>
  <TR>
    <TD width="8%"><B>Naam Effect</B></TD>
    <TD>DC1</TD>
    <TD>DC2</TD>
    <TD>EF1i</TD>
    <TD>EF2</TD>
    <TD>EF3</TD></TR>
  <TR>

    <TD><A href="http://www.jcsl.nl/martin/profiel.php?Type=ef1i"></A><IMG height=100
    src="compare_files/maniaef2.jpg"></A></TD>

    <TD><A href="http://www.jcsl.nl/martin/profiel.php?Type=ef1i"></A><IMG height=100
    src="compare_files/maniaef2.jpg"></A></TD>

    <TD><A href="http://www.jcsl.nl/martin/profiel.php?Type=ef1i"></A><IMG height=100
    src="compare_files/maniaef2.jpg"></A></TD>

  <<TD><A href="http://www.jcsl.nl/martin/profiel.php?Type=ef1i"></A><IMG height=100
    src="compare_files/maniaef2.jpg"></A></TD>

    <TD><A href="http://www.jcsl.nl/martin/profiel.php?Type=ef1i"></A><IMG height=100
    src="compare_files/maniaef2.jpg"></A></TD>

    <TD><A href="http://www.jcsl.nl/martin/profiel.php?Type=ef1i"></A><IMG height=100
    src="compare_files/maniaef2.jpg"></A></TD>
<tr></tr>

    <TD width="8%">Type lamp</TD>
    <TD>12v/100w</TD>
    <TD>12v/100w</TD>
    <TD>12v/100w</TD>
    <TD>12v/100w</TD>
    <TD>12v/100w</TD></TR>
  <TR>
    <TD width="8%">DMX gestuurd</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD></TR>
  <TR>
    <TD width="8%">Gobowiel</TD>
    <TD>Water</TD>
    <TD>Vuur</TD>
    <TD>Gecombineerd</TD>
    <TD>Gecombineerd</TD>
    <TD>Gecombineerd</TD></TR>
  <TR>
    <TD width="8%">Aantal gobo's</TD>
    <TD>1</TD>
    <TD>1</TD>
    <TD>8 glas</TD>
    <TD>4 metaal 4 glas</TD>
    <TD>2 metaal 2 glas</TD></TR>
  <TR>
    <TD width="8%">Gobo Ratotatie</TD>
    <TD>Ja</TD>
    <TD>Ja</TD>
    <TD>Ja</TD>
    <TD>Ja</TD>
    <TD>Ja</TD></TR>
  <TR>
    <TD width="8%">Verwisselbare gobo's</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD></TR>
  <TR>
    <TD width="8%">Kleurenwiel</TD>
    <TD>Ja</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD></TR>
  <TR>
    <TD width="8%">Aantal kleuren</TD>
    <TD>4</TD>
    <TD>-</TD>
    <TD>-</TD>
    <TD>-</TD>
    <TD>-</TD></TR>
  <TR>
    <TD width="8%">Verwisselbare kleuren</TD>
    <TD>Nee</TD>
    <TD>-</TD>
    <TD>-</TD>
    <TD>-</TD>
    <TD>-</TD></TR>
  <TR>
    <TD width="8%">Aparte Shutter</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD>
    <TD>Nee</TD></TR>
  <TR>
    <TD width="8%">Aantal Macro's</TD>
    <TD>0</TD>
    <TD>effect</TD>
    <TD>0</TD>
    <TD>0</TD>
    <TD>0</TD></TR>
  <TR>
    <TD width="8%">Adviesprijs</TD>
    <TD>150,00</TD>
    <TD>150,00</TD>
    <TD>150,00</TD>
    <TD>160,00</TD>
    <TD>160,00</TD></TR>
  <TR>
    <TD width="8%">J.C.S.L. Prijs</TD>
    <TD>126,05</TD>
    <TD>126,05</TD>
    <TD>126,05</TD>
    <TD>131,93</TD>
    <TD>131,93</TD></TR></TBODY></TABLE></BODY></HTML>

[/code]

Share this post


Link to post
Share on other sites
[quote author=redarrow link=topic=110642.msg448030#msg448030 date=1160145335]
Are you tring to clone a website called scotingfeast martin.
[/quote]
Sorry I don't know that site.

What is the link. Google doesn't know him

Share this post


Link to post
Share on other sites
http://www.scoutingfeest.nl/

sorry lol

or is your site or are you doing a clone job.

Share this post


Link to post
Share on other sites
It's my site.

But why is it a clone job?

The site is not made by me. I let someone build it for me. My php knowelege is not that good

Share this post


Link to post
Share on other sites
[quote author=brown2005 link=topic=110642.msg448041#msg448041 date=1160146283]
clone job is say if u took google.co.uk and copied it and made the exact same website...
[/quote]

I know what cloning is. But scoutingfeest.nl and this site is not the same.

scoutingfeest is a site where we place pictures of scouting parties

and this is a site where we compare lighteffects from 1 manifactore.

The scripting is a totaldifference. I wouldn't know where to start with scoutingfeest.nl, there is a admin part that I don't understand, but where I can ad parties an ad pictures. There is a emailservice. etc etc

So why do you think its a clone job?

Share this post


Link to post
Share on other sites
Problem solved thanks to craygo

[code]//plaatje
  echo "<tr>";
    echo "<td width='8%'>Foto</td>";
    for($i=0; $i < count($profiel); $i++){
          echo "<td><a href=\"".$profiel[$i]."\"><img height='70' src=\"".$plaatje[$i]."\"></td>";
    }
    echo "</tr>";[/code]

Share this post


Link to post
Share on other sites
no sorry i liked your sites was just wondering nice cool sites ok.

Share this post


Link to post
Share on other sites

×

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.