Jump to content


Photo

using <a> but on a row..


  • Please log in to reply
2 replies to this topic

#1 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 06 October 2006 - 11:02 AM

Hi,

First of all sorry if this should be posted somewhere else...

I have say results

while()
{

echo"<tr>
        <td>1st</td>
        <td><a href='' target='_blank'>$array['cabbage']</a></td>
        <td>34,555</td>
      </tr>";

}

i know i can do that to visit a link, but is there anyway that i can put the link on the whole row.. i mean, if u click anywhere in the row it will open the new link...



#2 HuggieBear

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

Posted 06 October 2006 - 11:07 AM

Sure...

Give this a try: http://www.spaanjaar...px?quickdoc=312

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 - 11:23 AM

very very nice....

exactly what i wanted.. thank you




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users