![]() |
Question about PHP
Hello.
How would I go about using PHP to make hosted galleries with codes in it? For example >> http://URL.com?referralID=12345, so that all the links on this page also include the referralID=12345 on the end of it? Thanks. |
The manual is your friend
|
RTFM
|
<a href=http://trageturl.com/page.php?referralID="<? echo $referralID;
?>"> |
It is not possible with php. try html instead :thumbsup
|
Quote:
|
Even better is using a template system and making it all dynamic ..,.. but thas more involved
|
Quote:
if register_globals is off (as it should be) you will need to pull $referralID from the GET string like this: PHP Code:
|
Quote:
Cheers, Matt |
Quote:
|
Quote:
and the above code should be: PHP Code:
|
You could also run some regex on it if you don't want to go through all the links manually. ;)
|
All times are GMT -7. The time now is 09:49 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123