somebody once told me in this forum that i can't create a good calculator with php, but i've been trying my best to prove the critics wrong, and in my effort to do so i have written a front view of how the calculator will look like but the problem is am new to php dont have an idea of how to extract the value from the clicking of a number and dont know how to go about with coding php this is the front view
<table border ="5">
<table border="2">
<th><input type="text" name="num" size="23" ></th>
</table>
<table border="3">
<tr>
<td><button size="0">+</button></td>
<td><button width="0"> - </button></td>
<td><button>*</button></td>
<td><button>/</button></td>
</tr>
<tr>
<td><button>-></button></td>
<td><button>1</button></td>
<td><button>2</button></td>
<td><button>3</button></td>
</tr>
<tr>
<td><button>4</button></td>
<td><button>5</button></td>
<td><button>6</button></td>
<td><button>7</button></td>
</tr>
<tr>
<td><button>8</button></td>
<td><button>9</button></td>
<td><button>0</button></td>
<td><button>=</button></td>
</tr>
<tr>
<td><button>.</button></td>
<td><button>%</button></td>
<td><button>^</button></td>
<td><button>!</button></td>
</tr>
</table>
</table>
please help out