Jump to content

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\" /]
Link to comment
https://forums.phpfreaks.com/topic/10366-change-variable-by-link/
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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.