GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
mysql_stmt_bind_param(3) MariaDB Connector/C mysql_stmt_bind_param(3)

mysql_stmt_bind_param - Binds parameter to a prepared statement


#include <mysql.h>
my_bool mysql_stmt_bind_param(MYSQL_STMT * stmt,
                              MYSQL_BIND * bind);

    

Binds variables for parameter markers in the prepared statement that was passed to mysql_stmt_prepare(3). Returns zero on success, non-zero on failure.

stmt - a statement handle, which was previously allocated by mysql_stmt_init(3).
bind - an array of MYSQL_BIND structures. The size of this array must be equal to the number of parameters.

The number of parameters can be obtained by mysql_stmt_param_count(3).
If the number of parameters is unknown, for example when using mariadb_stmt_execute_direct(3), the number of parameters have to be specified with the mysql_stmt_attr_set(3) function.

mariadb_stmt_execute_direct(3)
mysql_stmt_prepare(3)
mysql_stmt_bind_result(3)
mysql_stmt_execute(3)
mysql_stmt_param_count(3)
mysql_stmt_send_long_data(3)
Version 3.2.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.