What Does Really Bind and Binding means in Programs Like PHP and JavaScript -
can please let me know meaning of bind , binding in php , javascript programming? example in php mysqli_stmt::bind_param -- mysqli_stmt_bind_param —
binds variables prepared statement parameters. mean, really?
you can think of prepared statement kind of function; ready executed once knows parameters are. bind function, tell statement value parameters. call execute function executes statement.
the advantage of binding functions take care of possible hacking attempts sql injection, , escape characters quote ('
) lead invalid sql statements. furthermore, can reuse existing prepared statements binding them again.
(note involves php - javascript plays no role in executed on client side.)
Comments
Post a Comment