RE: [PHP] Links displaying in Table cells
| From: | Richard Lynch | Date: | Tue, 07 Dec 2004 18:15:58 +0000 |
| Subject: | RE: [PHP] Links displaying in Table cells | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203676@lists.php.net to get a copy of this message | ||
> After clicking on a link of a menu in a PHP page, I want to display that
> link in cell of a table. Please let me know how to open this link in a
> table
> cell.
You mean like this?
<HTML><BODY>
<A HREF="<?=$PHP_SELF?>?target=http://php.net">PHP</A>
<TABLE>
<TR><TD><?=isset($_GET['target']) ? $_GET['target'] :
''?></TD></TR>
</TABLE>
</BODY></HTML>
You may also want to consider not using PHP at all, but using JavaScript
and 'innerHTML' property of a table cell. Hard to tell from your
question.
--
Like Music?
http://l-i-e.com/artists.htm