Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help if possible PHP/Mysql

0 views
Skip to first unread message

RT

unread,
Sep 9, 2004, 6:00:12 AM9/9/04
to
I was wondering if someone could help us on this problem.

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

Pjotr Wedersteers

unread,
Sep 9, 2004, 6:22:37 AM9/9/04
to

Is subsid already in $_GET ? You say it doesn't work properly. What result
DO you get then ?


RT

unread,
Sep 9, 2004, 8:30:25 AM9/9/04
to
When you move the pointer over the link the <?php echo $_GET['subsid']; ?>
shows in the url information to be quite honest I am making an assumption
that the information I need inserted is not because of the way the url on
link looks in the status bar of the browser.


On 9/9/04 6:22 AM, in article 41402eed$0$65124$e4fe...@news.xs4all.nl,

Tony Marston

unread,
Sep 9, 2004, 11:15:08 AM9/9/04
to

"RT" <robe...@comcast.net> wrote in message
news:BD65C51F.1CD62%robe...@comcast.net...

> When you move the pointer over the link the <?php echo $_GET['subsid']; ?>
> shows in the url information to be quite honest I am making an assumption
> that the information I need inserted is not because of the way the url on
> link looks in the status bar of the browser.

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

http://www.tonymarston.net

0 new messages