on-internet
← Community

What is the difference between mysqli_prepare() and mysqli_stmt_prepare()?

Stack Overflow ·

This article of the PHP manual uses mysqli_prepare() here but mysqli_stmt_* for everything else. However, in this article of the PHP manual, it uses mysqli_stmt_prepare() What is the difference between these? Can I use either? And if mysqli_prepare() is valid, does that mean mysqli_bind_param() is valid? OK, this article for mysqli_bind_param() says it's an alias for mysql_stmt_bind_param(). I guess it's safe to assume it's the same with mysqli_prepare() and the rest of the mysqli_* functions?

Comments

Sign in or sign up to comment and upvote.

No comments yet.