Jump to content

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
Link to comment
https://forums.phpfreaks.com/topic/23130-probleme-with-a-link-behind-a-picture/
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]

[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?
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]
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.