Hi,
I wonder what is the difference between mysqli_stmt_prepare() and mysqli_prepare(). The documentation, for change, has faulty information and in addition, it lacks of some.
I bet mysqli_prepare() is just an alias, but I am not 100% sure, and I must be.
mysqli_stmt_prepare() vs mysqli_prepare()
Moderator: General Moderators
- kaisellgren
- DevNet Resident
- Posts: 1675
- Joined: Sat Jan 07, 2006 5:52 am
- Location: Lahti, Finland.
Re: mysqli_stmt_prepare() vs mysqli_prepare()
From what I see, mysqli_stmt_prepare is for procedural style whereas mysqli_prepare can be used as a method of the mysqli object.
http://us2.php.net/manual/en/mysqli-stmt.prepare.php
http://us2.php.net/manual/en/mysqli-stmt.prepare.php
- kaisellgren
- DevNet Resident
- Posts: 1675
- Joined: Sat Jan 07, 2006 5:52 am
- Location: Lahti, Finland.
Re: mysqli_stmt_prepare() vs mysqli_prepare()
Hmm, a good point. I didn't notice that.