Jump to content


Photo

Probleme with a link behind a picture


  • Please log in to reply
17 replies to this topic

#1 J.S. Coolen

J.S. Coolen
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 06 October 2006 - 12:27 AM

Is there someone who can help me


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

<?
//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>";
?>  
wie kan mij helpen


#2 HuggieBear

HuggieBear
  • Members
  • PipPipPip
  • Advanced Member
  • 1,899 posts
  • LocationEngland, UK

Posted 06 October 2006 - 08:18 AM

I've had a look at your page and it appears to be fine.  Are you still having problems.

Regards
Huggie
Advice to MySQL users: Get phpMyAdmin and test your queries work there first, take half the hassle out of diagnosis, also check the reserved words list.

Links: PHP Docs :: RegEx's :: MySQL :: DevGuru :: w3schools

#3 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 06 October 2006 - 08:22 AM

yes seems to be working fine to me

#4 J.S. Coolen

J.S. Coolen
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 06 October 2006 - 01:28 PM

Yes I still have the probleme, sorry it's is on the next page.

Try any link that redirects to compare.php?......

#5 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 06 October 2006 - 01:35 PM

what actually is the problem? the blue line around the picture?

#6 J.S. Coolen

J.S. Coolen
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 06 October 2006 - 01:41 PM

http://www.jcsl.nl/m...pare.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

#7 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 06 October 2006 - 01:52 PM

i c what you mean... well can u post the code.....

#8 J.S. Coolen

J.S. Coolen
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 06 October 2006 - 01:58 PM

I did in the first post

It just a part, because I think there's the place where it goes wrong

#9 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 06 October 2006 - 02:22 PM

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.


<!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>



Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#10 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 06 October 2006 - 02:35 PM

Are you tring to clone a website called scotingfeast martin.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#11 J.S. Coolen

J.S. Coolen
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 06 October 2006 - 02:39 PM

Are you tring to clone a website called scotingfeast martin.

Sorry I don't know that site.

What is the link. Google doesn't know him

#12 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 06 October 2006 - 02:41 PM

http://www.scoutingfeest.nl/

sorry lol

or is your site or are you doing a clone job.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#13 J.S. Coolen

J.S. Coolen
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 06 October 2006 - 02:47 PM

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

#14 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 06 October 2006 - 02:51 PM

clone job is say if u took google.co.uk and copied it and made the exact same website...

#15 J.S. Coolen

J.S. Coolen
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 06 October 2006 - 02:59 PM

clone job is say if u took google.co.uk and copied it and made the exact same website...


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?

#16 J.S. Coolen

J.S. Coolen
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 06 October 2006 - 03:28 PM

Problem solved thanks to craygo

//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>";


#17 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 06 October 2006 - 03:38 PM

no sorry i liked your sites was just wondering nice cool sites ok.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#18 J.S. Coolen

J.S. Coolen
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 06 October 2006 - 03:44 PM

thank you very much

no offence taken  :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users