Jump to content

Archived

This topic is now archived and is closed to further replies.

Mikethabest

Change variable by link ?

Recommended Posts

How to change a [b]PHP[/b] variable by a [b]HTML Link[/b] ([i]<a>[/i]) ?
!! Without going to an other page !! Cause other variables must stay the same !!

Thanks,

Mikethabest [img src=\"style_emoticons/[#EMO_DIR#]/excl.gif\" style=\"vertical-align:middle\" emoid=\":excl:\" border=\"0\" alt=\"excl.gif\" /]

Share this post


Link to post
Share on other sites
Not sure if it is possible - certainly not possible easily(might be able to be achieved with ajax but i dont know anything about that)

But perhaps you could store all these variables that you want to keep in a session and then redirect to the same page but set the variable you want to change in the url?

Share this post


Link to post
Share on other sites
>Solved<

For index.php i needed to change the variable p and i just a link directing to index.php?p=....

Thanks :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.