![]() |
PHP Help
Trying to get some hosted galleries up..I remember JupzChris I believe was trying to explain how to do it with php, but I cant get it to work.
He said: point the affiliates to www.domain.com/galleries/gallery001/?a=USERID then modify index.php and inset this wherever you want the USERID to appear (like in another link) <?=$a?> that <?=$a?> tag is showing up red in macromedia and im getting an error when i load the page.. So say I have banner1.gif that needs to be linked to blah.com/affiliateid=XXXXXX how would I do this? and set the main url? |
you need a space or new line after/before the php tags
<? print"$a"; ?> |
try this:
<? echo $_GET['a']; ?> |
Quote:
|
Quote:
|
by the way, use it like this
<a href="http://blah.com/affiliateid=<? echo $_GET['a']; ?>">blah blah</a> |
Quote:
|
Quote:
|
Quote:
|
|
or "syntax coloring". whatever you wanna call it.
|
All times are GMT -7. The time now is 01:18 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123