[PHP] Fatal error: Call to a member function query() on a non-object in C:\Xampp\xa...

2006-06-28 Thread j . kuehne
Hello Following code shows within I have some difficulties. Is only an example from "Web Databasse Applications with PHP and MysQL" book. global $dsn; global $connection; $template->setCurrentBlock(); $template->setVariable("SUCH-KRITERIUM","Such-Kriterium: {$_SESSION["searchFormVars"]["

[PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-27 Thread j . kuehne
Hello I am pleased if someone could explain me the behaviour since is wrong the following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC, $_SESSION["searchFormVars"]["offset"]+$rowCounter)); as you will find them below. By the way, fetchRow() is a method from class DB(.php). How

[PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-27 Thread j . kuehne
Hello I am pleased if someone could explain me the behaviour since is wrong the following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC, $_SESSION["searchFormVars"]["offset"]+$rowCounter)); as you will find them on the bottom of the email. By the way, fetchRow() is a method fro

[PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-26 Thread j . kuehne
Hello I am pleased if someone could explain me the behaviour since is wrong the following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC, $_SESSION["searchFormVars"]["offset"]+$rowCounter)); as you will find them on the bottom of the email. By the way, fetchRow() is a method fro

[PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-26 Thread j . kuehne
Hello I am pleased if someone could explain me since is wrong the following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC, $_SESSION["searchFormVars"]["offset"]+$rowCounter)); as you will find them on the bottom of the email. By the way, fetchRow() is an object from class DB(.p

[PHP] mysql-* versus db_* statements

2006-06-26 Thread j . kuehne
Could someone explain the behaviour of the following code fragments. I have a serious problem with db-statements. ##

[PHP] mysql-* versus db-* statements

2006-06-26 Thread j . kuehne
Original Message Subject: Re: [PHP-DEV] mysql-* versus db_* statements (26-Jun-2006 9:21) From:[EMAIL PROTECTED] To: [EMAIL PROTECTED] Please user php-general@lists.php.net for such questions. Thank you. On 26.06.2006 11:10, [EMAIL PROTECTED] wrote: > require_once "DB