swatisonee Posted May 12, 2010 Share Posted May 12, 2010 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> Link to comment https://forums.phpfreaks.com/topic/201469-how-do-i-write-a-code-where-clicking-on-image-leads-to-a-php-file/ Share on other sites More sharing options...
phpchamps Posted May 12, 2010 Share Posted May 12, 2010 <a href="group1.php?Userid=$userid"><img border=0 width=32 height=37 src="include/salesimages/GRPIMG.jpg"></a> Link to comment https://forums.phpfreaks.com/topic/201469-how-do-i-write-a-code-where-clicking-on-image-leads-to-a-php-file/#findComment-1056985 Share on other sites More sharing options...
swatisonee Posted May 12, 2010 Author Share Posted May 12, 2010 Done ! Thanks so much ! Link to comment https://forums.phpfreaks.com/topic/201469-how-do-i-write-a-code-where-clicking-on-image-leads-to-a-php-file/#findComment-1057081 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.