Help if possible PHP/Mysql

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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 :

..10000012&subid=4&type=4"><IMG border="0"  width="120" height="60"
alt="Almond Plaza"

What we want to change is the susid=4 to the appropriate information taken
from another table.

We tried this :

..10000015&type=4&subid=<?php echo $_GET['subsid']; ?>"><IMG  width="120"
height="60" alt="Banner 10000015" border="0"
/a><IMG border="0" width="1" height="1"
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 ?


Re: Help if possible PHP/Mysql

RT wrote:
Quoted text here. Click to load it

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

Re: Help if possible PHP/Mysql

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$,

Quoted text here. Click to load it

Re: Help if possible PHP/Mysql

Quoted text here. Click to load it

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

Tony Marston

Quoted text here. Click to load it

Site Timeline