danielagaba 0 Junior Poster in Training

hi

on my index.php page i'm calling several php functions with html embedded in the php so that the interface changes with different function calls. my problem is in one function, i'm using a button to whose onclick calls php function in another page to store field values in my db but i'm having trouble refreshing the page.
when the button is clicked the page remains the same and if i try to change the button type to submit, the page refreshes but instead brings the default function which is login