Voting

: nine minus three?
(Example: nine)

The Note You're Voting On

andersmmg at gmail dot com
6 years ago
I sometimes forget that you can't put functions inside. For example:

If I wanted to use md5() on a value like so:
<?php
$stmt
->bind_param("s",md5($val));
?>
If would not work. Because it uses the variables by binding them, you need to change them beforehand like this:
<?php
$val
= md5($val);
$stmt->bind_param("s",$val);
?>

<< Back to user notes page

To Top