GET in the URLs
Posted 13 August 2006 - 05:16 AM
I have been "playing" with HTML and CSS for some time, and I have been learning some basic PHP programming lately... I don't have a lot of time for learning though.
I have made a site which uses PHP (see it here: http://niptunz.byeth...itioy/index.php) for displaying some things, like the main content and some messages on that thin black bar below the banner. I have also installed some PHP utilities, such as CuteNews.
Now, if I add a variable to the URL (is that the right way of referring to it?), let's say: http://niptunz.byeth...layer=no</span>, which displays a message saying "Aviso: no se encontró...." on the top bar, the links generated by CuteNews show the "flashplayer=no" part (http://niptunz.byeth...layer=no</span>), but the links on the left menu don't (well.... the only link hehehe).
So, if you click a link generated by CuteNews, the message will still be shown in the next page, but if you click a link on the menu, the message disappears.
How do I make the links on the left include the information already present in the URL too ?
Thanks in advance
Posted 13 August 2006 - 05:39 AM
<?php if($_GET['flashplayer'] == "no") $flashplayer = 'no'; else $flashplayer = 'yes'; ?> <a href=link.php?flashplayer=<? echo $flashplayer; ?>>Link here </a>
Posted 13 August 2006 - 07:48 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users