Binding Data

<?php
$userId = 2;
$stmt->bind_param('i', $userId);