Re: [PHP] mysqli, prepare and fetch_row

2008-10-23 Thread Marten Lehmann
Hi, Kyle Terry wrote: Why don't you want to bind the results? thats poor programming style and bad performance (dozends of bind calls). Since there is a method fetch_row(), then why shouldn't I use it? It is a bit strange that I cannot find any example for its use besides in conjunction wit

Re: [PHP] mysqli, prepare and fetch_row

2008-10-22 Thread Marten Lehmann
Hi, You prepare the statement, execute it then use ->fetch() to get the data. but the documentation says, that ->fetch() is only to fetch data to variables that have been bound with bind_result() before. But I want to use fetch_row() instead. Regards Marten -- PHP General Mailing List (ht

Re: [PHP] mysqli, prepare and fetch_row

2008-10-22 Thread Kyle Terry
You prepare the statement, execute it then use ->fetch() to get the data. On Oct 22, 2008, at 1:36 PM, Marten Lehmann <[EMAIL PROTECTED]> wrote: Hello, I have a small piece of code where I'm trying to use mysqli with a prepare-statement. I don't want to bind variables for the fetch, inst