<form method='post' action='action.php'>
<input type='text' name='user'>
<button type='submit' name='send_data'
value='button_pressed'>Send</button>
Action.php
-------------
<?php
print_r($_POST)
'user' => `input value`,
'send_data' => `button_pressed`