Re: [PHP-DB] Where does the mysqli extension find the default connection charset?

2007-05-02 Thread Georg Richter
: Several distros deliver utf8 as default, others latin1. To be on the safe side, you should call mysqli_set_charset($link, utf8/latin1/whatever) to set the character set for each connection. /Georg -- Georg Richter, Development Manager - Connectors Client Connectivity MySQL GmbH, Radlkoferstr. 2

Re: [PHP-DB] mysqli_prepare

2007-04-11 Thread Georg Richter
integrated already) /Georg -- Georg Richter, Development Manager - Connectors Client Connectivity MySQL GmbH, Radlkoferstr. 2, D-81373 München, www.mysql.com Geschäftsführer: Hans von Bell, Kaj Arnö - HRB München 162140 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP-DB] mysqli_stmt_bind_param with lists

2006-06-13 Thread Georg Richter
Am Di, den 13.06.2006 schrieb Bluejack um 7:31: Is there any way to get mysqli_stmt_bind_param to take the bind parameters as an array? It seems to see an array as a single item, rather than detecting an array and expanding the elements. see http://www.php.net/call_user_func_array /Georg --

Re: [PHP-DB] MySQLi Prepared Statements

2006-03-27 Thread Georg Richter
Am Mo, den 27.03.2006 schrieb Rob Hamilton um 19:37: Hello Rob, Is it possible to construct an array of this type and pass it to these functions, and if so how? For such cases you should use call_user_func_array. /Georg -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP-DB] Getting PHP 5 w/mysqli to communicate with MySQL 5

2006-01-22 Thread Georg Richter
Am Fr, den 20.01.2006 schrieb Allen Schultz um 1:16: Hi, all: I having trouble getting my php to communicate with my MySQL database. I have it where I can connect, but afterwards, it sees nothing for information after being connected. Any additonal information would be helpful... a) what

Re: [PHP-DB] mysqli_stmt_bind_result

2005-07-19 Thread Georg Richter
Am So, den 10.07.2005 schrieb d3vnull um 12:06: According to the PHP manual it's quite normal that the above throws an error message, because mysqli_stmt_bind_result() expects one variable for each database field that you selected. If you just select a few fields from your database that's

Re: [PHP-DB] Prepared Statement not working (mysql 5)

2005-07-19 Thread Georg Richter
Am Do, den 14.07.2005 schrieb Marco Bascietto um 13:15: It looks like there is a problem with mysqli PS when the client and the server share the same machine. Does anyone have a clue on what is going on or point me to some tests I can do? There is no problem when running client and

Re: [PHP-DB] Problem with MySQL Extension

2005-06-25 Thread Georg Richter
Am Do, den 23.06.2005 schrieb Bomgardner, Mark A um 22:44: I upgrade the php-mysql extension from 4.3.2-8 to 4.3.2-23, which is the most current rpm and still no luck. I now get the message that it can't find mysqli extension. mysqli extension is part of PHP5, not of PHP4. /Georg --

Re: [PHP-DB] Memory

2005-05-01 Thread Georg Richter
Am Mi, den 27.04.2005 schrieb [FOTOList.com] Suporte um 15:46: Hi, When I get something from database, using this function: pg_query (postgresql) or mysql_query and after put this result in somes variables, Am I using double memory to same data or this new variable point to variable with

Re: [PHP-DB] Extending MySQLi_Result object

2004-11-16 Thread Georg Richter
object. Also mysqli_stmt object isn't really extendable. We are working on a solution for PHP 5.1 now (which will be released next year). /Georg -- Georg Richter, Senior Software Developer MySQL AB, www.mysql.com Are you MySQL certified? www.mysql.com/certification -- PHP Database Mailing List

Re: [PHP-DB] mysqli prepared statement query result sets

2004-10-26 Thread Georg Richter
Am Di, den 26.10.2004 schrieb Hans Lellelid um 12:57: Ooops, I guess I should have searched the list itself; I did some google searches to no avail. This is really unfortunate. This API sucks! Prepared api calls use a binary protocol, which is totally different from the old protocol. If

Re: [PHP-DB] Finding the value of the COMMENT in a table column

2004-09-21 Thread Georg Richter
Hi all, Anyone know how to access the optional COMMENT you can add to columns during table creation? If you don't expect 20 diffrent answers for 20 different databases you should be more specific. Nobody knows which database do you use. /Georg -- PHP Database Mailing List

Re: [PHP-DB] mysqli_result() ?

2004-09-18 Thread Georg Richter
Am Sa, den 18.09.2004 schrieb Chris um 0:50: Hi, is there any MySQLi equivalent to the mysql_result function? Nope. mysql_result is very slow, so we didn't implement it. Use mysql_fetch_row instead and use the row offsets to retrieve the content of a column. See also