Jump to content

how do i write a code where clicking on image leads to a php file?


swatisonee

Recommended Posts

hi,

 

I have a table as detailed below.

 

When a user clicks on

<a href="include/salesimages/GRPIMG.jpg ">

 

i want that it will open the following file

"<a href=\"group1.php?Userid=$userid\">

 

 

 <? echo "<a href=\"group1.php?Userid=$userid\">New Group</a>";?></td>

is my original code.

 

Basically the words New Group in the above code should be replaced by the image.  How do I do this please ?

Many thanks:Swati

 

  <td width=165 style='width:99.25pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>

    <p class=MsoNormal><b><span style='font-family:"Tw Cen MT";color:white'><a href="include/salesimages/GRPIMG.jpg">

<span style='color:white'><img

    border=0 width=32 height=37 src="include/salesimages/GRPIMG.jpg"></span></a></span></b></p>

    </td>

 

 

Archived

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

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