How can I click on a button and save a string to a file in php please?
For example:MainPage ... contains a button or link ...
I click on it and it saves: eg: $var1 = 'somestring';
Then, if I click another button for $var1 .. it would replace 'something' with 'somethingElse'
Very Important: I don't want the page to reload everytime a press a button to save.
Can anyone help please?