Regarding "prepared statements" in php,
I have found here in the official documentation of php this piece of code that I don´t understand.
/* execute statement */
$stmt->execute();
/* bind result variables */
$stmt->bind_result($name, $code);
I had always seen the "binding" first and then, the "execution".
Could anybody tell me why in this case, is the other way around?
Thanks.