HTML code for creating CSRF token

<form action="send.php" method="POST">
    <!-- Here goes our code for fields -->
    <input type="hidden" value="<?php echo $token ?>" />
    <!-- Here goes the rest of the fields -->
</form>