Re: how to put links (to another page) behind records in a table
| From: | Ben Edwards | Date: | Sun, 14 Oct 2001 11:06:21 +0000 |
| Subject: | Re: how to put links (to another page) behind records in a table | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71030@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You seem to of posted this to the db list, that should piss people off -o;)
Use echo, printf bit sledghammerish for this, echo is the one 99% for me.
echo "<a href=\"http.mysite.com/mypage.php?ID=$ID"\">View
Details>";
In printf you put formatting placeholders where you want var and list vars
as another parameter(s) I think. Only ever use this kind of thing print
money values myself.
Alternatively you could look in the manual -0;)
At 12:29 P 14/10/01, Sander Peters wrote:
>print("<TD><a
>href=\"http://..\forms\view_edit_movie_form?ID=$ID\">view
>details</TD>");
**************************************************************
* This Email account is protected by http://www.spamcop.net *
* ALL spam is reported to ISP and there network provider *
* Ben Edwards +352 091 429995 *
* Homepage http://www.gifford.co.uk/~bedwards *
* i-Contact Progressive Video http://www.videonetwork.org *
* Smashing the Corporate image http://www.subvertise.org
*
* Bristol's radical news http://www.bristle.co.uk *
* PGP : F0CA 42B8 D56F 28AD 169B 49F3 3056 C6DB 8538 EEF8 *
**************************************************************
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBO8ljnv4H8PnbFwvHEQLBYgCgq3yTVEatev9i5yklQJx5QbfrZpcAn1A2
txlKn7i46um1V3jQ9aspCqwt
=SYXz
-----END PGP SIGNATURE-----