I've designed an HTML form to find the GPA , I want to ask the user to enter the mark, and pushing on "submit" button which sending marks to php Class in other page in the same project, the class should process the mark and find GPA , and then send GPA to the same HTML form and print it in a text box ;
i used submit button to go to PHP class.
this is the form's tag which i used
<form method="post" action="GPA.PHP">
After processing the data in php class, i want to send the result to html and put them into a text, this text :
<input type="text" style="text-align:center;" value="0.0" name="GPA" />
how can i do this ??