We need to be able to insert into an a link code on the fly the correct
identifier of sub affiliate information:
Here is what the link looks like :
<a
href="http://click.linksynergy.com/fs-bin/click?id=6bT9rAvzDlc&offerid=18259
.10000012&subid=4&type=4"><IMG border="0" width="120" height="60"
alt="Almond Plaza"
src="http://ad.linksynergy.com/fs-bin/show?id=6bT9rAvzDlc&bids=18259.1000001
2&subid=4&type=4&gridnum=6"></a>
What we want to change is the susid=4 to the appropriate information taken
from another table.
We tried this :
<a
href="http://click.linksynergy.com/fs-bin/click?id=6bT9rAvzDlc&offerid=50052
.10000015&type=4&subid=<?php echo $_GET['subsid']; ?>"><IMG width="120"
height="60" alt="Banner 10000015" border="0"
src="http://images.trygames.com/linkshare/images/trygames_logo_120x60.jpg"><
/a><IMG border="0" width="1" height="1"
src="http://ad.linksynergy.com/fs-bin/show?id=6bT9rAvzDlc&bids=50052.1000001
5&type=4&subid=<?php echo $_GET['subsid']; ?>">
We inserted - <?php echo $_GET['subsid']; ?> but it doesn't work properly.
The way we are getting the correct record set is to assign in the url link
we give out.
I hope I explained it well enough. Any ideas anyone ?
RT
Is subsid already in $_GET ? You say it doesn't work properly. What result
DO you get then ?
On 9/9/04 6:22 AM, in article 41402eed$0$65124$e4fe...@news.xs4all.nl,
Don't rely on what shows up in the browser's status bar - do View->Source
and look to see how the URL has been constructed.
Unless you can identify EXACTLY what the problem is you will never get a
solution.
--
Tony Marston