Rectangle 27 0

Change php variable based on javascript value?


PHP variables are set at run time. You can't do it directly within the javascript. Off the top of my head the best way I can think of to do it would be to set the php variables as session variables. Then use your javascript to call a php file via ajax/jquery that can update the session variables.

if nothing else comes up, i will try doing that.. unfortunately there is a lot of complications (for me) behind that.. :(

Note