Sure this is possible Alejandro.
You can do something like this:
send.html:
<form action=send.php method=post>
Your name: <input type=text name=name><br>
Your phone: <input type=text size=10 name=pno><br>
</form>
By setting the variables in the fields(input, select, textarea, etc) you can use them as normal variables on PHP.
send.php:
function print_info($name, $pno) {
echo "Given name \"$name\"<br>Phone Number: $pno<br>";
}
print_info($name, $pno);