Post function not functioning as expected with database

I am having some problems with this code. I am connecting to an SQL Database and it connects, but the post function doesn't appear to be working. When I inspect element and look at the network connections, it posts one thing, but not the other two things. If someone could help me out, that would be great.

Thanks,

Ben

<?php

$connection = mysql_connect("localhost", "root", "password") or die("There is no connection to the server");
mysql_select_db("tutorial", $connection) or die("Couldn't connect to database");