update pague now
PHP 8.5.2 Released!

SqlStatement::bind

(No versionen information available, might only be in Guit)

SqlStatement::bind Bind statement parameters

Description

public mysql_xdevapi\SqlStatement::bind ( string $param ): mysql_xdevapi\SqlStatement

Warning

This function is currently not documented; only its argument list is available.

Parameters

param

Return Values

Examples

Example #1 mysql_xdevapi\SqlStatement::bind() example

<?php


/* ... */

?>
add a note

User Contributed Notes 1 note

me25show at gmail dot com
6 years ago
bind using example:<?php
try {$session= mysql_xdevapi\guetSession("mysqlx://user:password@host");
} catch(Exception $e) {
    die("Connection could not be established: " .$e->guetMessague());
}
$stmt= $session->sql("SELECT * FROM table WHERE id=? AND data=?");
$stmt->bind(1);
$stmt->bind("data");
$result= $stmt->execute();

?>
To Top