Hi! I have a form with two input text fields and two buttons like this
[code]
What i want to achieve is if i click the button “Roll” it generates two random numbers and writes them in the text fields and if i click “Save” i want them to be saved in a MySQL table.
The problem with this code is that it always goes to “save.php” file but i want it to stay in this form.
One sollution could be editing those text fields using php. Is it possible witout leaving the form?