Posted by Geoff Berrow on 06/28/05 21:01
I noticed that Message-ID: <d9s1ot$2dip$1@gavrilo.mtu.ru> from Ashok
contained the following:
><a href="frame.php?id=<?php echo $row_Recordset1['products_id'];
>?>&products_id=<?php echo $products['products_id']; ?>"><?php echo
>$row_Recordset1['products_name']; ?></a>
Looks about right but may look cleaner if you use printf() Oh and make
that ampersand like so & otherwise you may have problems with
validators.
$link="<a href='frame.php?id=%s&products_id=%s'>%s</a>";
printf($link,$row_Recordset1['products_id'],$products['products_id'],$row_Recordset1['products_name']);
Untested.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
[Back to original message]
|