dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ibase_query> <ibase_pconnect
[edit] Last updated: Fri, 28 Jun 2013

view this page in

ibase_prepare

(PHP 5)

ibase_preparePrepare a query for later binding of parameter placeholders and execution

Description

resource ibase_prepare ( string $query )
resource ibase_prepare ( resource $link_identifier , string $query )
resource ibase_prepare ( resource $link_identifier , string $trans , string $query )

Prepare a query for later binding of parameter placeholders and execution (via ibase_execute()).

Parameters

query

An InterBase query.

Return Values

Returns a prepared query handle, or FALSE on error.



add a note add a note User Contributed Notes ibase_prepare - [1 notes]
up
0
adamson dot ibus at gmail dot com
10 months ago
ex.

<?php
$query
= "SELECT * FROM EMPLOYEES";
$p_sql = ibase_prepare($query);
$result = ibase_execute($p_sql);
while(
$row = ibase_fetch_object($result)){
echo
$row['FIRSTNAME'];
}

 
show source | credits | stats | sitemap | contact | advertising | mirror sites