Re: Using placeholder without pass by reference in MySqli

From: Date: Sat, 27 Nov 2010 14:27:38 +0000
Subject: Re: Using placeholder without pass by reference in MySqli
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-47503@lists.php.net to get a copy of this message
?> "Bastien" <phpster@gmail.com> wrote in message news:962F0FD6-0EAA-495A-831E-DA05BC1AB371@gmail.com...
On 2010-11-26, at 7:46 PM, "None" <abcdefghi@mailinator.com> wrote: ?Could be a silly question, but i can't find a method to use placeholder (MySqli) without passing by reference (bind_param) or receive by reference (bind_result)? is that right? I really hate use reference becouse in large program is common create a circular reference, even in multiple query with same data i lost the information after first query so i need to clean an refill at every step. I prefer functions like MySql or DBI. Do you think it will be implemented, function like param, param_array, fetch_assoc, fetch_all_assoc, etc. where is the correct place to ask for this method? here? Thank for your advice -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Look at the prepared statements section of mysqli. Bastien Koert Sent from my iPhone=
I double checked the entire documentation, but it's not possible to use prepared queries without sending or receiving data by reference it only accept bind_result and bind_param and, in fact, this's explicitly named in http://us.php.net/manual/en/mysqli-stmt.prepare.php Could I be wrong? there are undocumented methods that allows this? Thank you as always.

« previous php.db (#47503) next »