Hello all,
As you might have guessed, I'm new to PHP (and coding for that matter)!!!
Wondering if you can help (and determine whether or not I'm totally insane and should give up now!!!;-)
I have a site, and I want it to display different images/look and feel depending on where a visitor comes from; ie which link they clicked.
just wondered if you think it is possible to do the following:
Make a site a banner that links to my site, but assigns some kind of ID when the user clicks on it (which they then carry)?
Have a section in my main html template that looks at a php script ("image.php" for example)
Have "image.php" look at the ID being carried by the user and say something like:
if ID = link1, send <img src="link1pic.jpg>
else send <img src="normalpic.jpg>
Thus the site will look different depending on where they come from.
Is that a vague possibility, or am I basically profoundly dumb?
Any help/advice would be muchly appreciated 😕
Cheers