Home > PHP > Function > > stmt->bind_param()

stmt->bind_param()

stmt->bind_param - Binds variables to a prepared statement as parameters

Syntax

bool stmt->bind_param (resource $stmt, string $types, mixed &$var1, mixed &$..., string $types, mixed &$var1, mixed &$..., resource $stmt, string $types, array &$var, string $types, array &$var, resource $stmt, string $types, mixed &$var1, mixed &$..., string $types, mixed &$var1, mixed &$..., resource $stmt, string $types, array &$var, string $types, array &$var, resource $stmt, string $types, mixed &$var1, mixed &$..., string $types, mixed &$var1, mixed &$..., resource $stmt, string $types, array &$var, string $types, array &$var, resource $stmt, string $types, mixed &$var1, mixed &$..., string $types, mixed &$var1, mixed &$..., resource $stmt, string $types, array &$var, string $types, array &$var)

Arguments

  • stmt - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var1 - One of the MAXDB_REPORT_XXXconstants.
  • ... - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var1 - One of the MAXDB_REPORT_XXXconstants.
  • ... - One of the MAXDB_REPORT_XXXconstants.
  • stmt - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var - One of the MAXDB_REPORT_XXXconstants.
  • stmt - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var1 - One of the MAXDB_REPORT_XXXconstants.
  • ... - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var1 - One of the MAXDB_REPORT_XXXconstants.
  • ... - One of the MAXDB_REPORT_XXXconstants.
  • stmt - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var - One of the MAXDB_REPORT_XXXconstants.
  • stmt - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var1 - One of the MAXDB_REPORT_XXXconstants.
  • ... - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var1 - One of the MAXDB_REPORT_XXXconstants.
  • ... - One of the MAXDB_REPORT_XXXconstants.
  • stmt - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var - One of the MAXDB_REPORT_XXXconstants.
  • stmt - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var1 - One of the MAXDB_REPORT_XXXconstants.
  • ... - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var1 - One of the MAXDB_REPORT_XXXconstants.
  • ... - One of the MAXDB_REPORT_XXXconstants.
  • stmt - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var - One of the MAXDB_REPORT_XXXconstants.
  • types - One of the MAXDB_REPORT_XXXconstants.
  • var - One of the MAXDB_REPORT_XXXconstants.

Description

Procedural style:

Version

PHP PECL maxdb >= 1.0

Return value

Returns TRUE on success or FALSE on failure.