Re: [PHP] function returns no value

2008-04-21 Thread Ali Reza Sajedi
Message - From: Nathan Nobbe To: Ali Reza Sajedi Cc: php-general@lists.php.net Sent: Monday, April 21, 2008 12:42 AM Subject: Re: [PHP] function returns no value On Sun, Apr 20, 2008 at 4:51 PM, Ali Reza Sajedi [EMAIL PROTECTED] wrote: Hello, with the following call I try to print

Re: [PHP] function returns no value

2008-04-21 Thread Thijs Lensselink
be printed. Any ideas? Regards Ali - Original Message - From: Nathan Nobbe To: Ali Reza Sajedi Cc: php-general@lists.php.net Sent: Monday, April 21, 2008 12:42 AM Subject: Re: [PHP] function returns no value On Sun, Apr 20, 2008 at 4:51 PM, Ali Reza Sajedi [EMAIL PROTECTED] wrote: Hello

Re: [PHP] function returns no value

2008-04-21 Thread Ali Reza Sajedi
using $result-fields[fa] did solve the problem. thanks very much Thijs - Original Message - From: Thijs Lensselink [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, April 21, 2008 2:48 PM Subject: Re: [PHP] function returns no value Quoting Ali Reza Sajedi [EMAIL

[PHP] function returns no value

2008-04-20 Thread Ali Reza Sajedi
Hello, with the following call I try to print a string out of DB echo $allg-translate($db, $lang, 14, auth/authCallback, 4); function translate () should do a DB querry and returns the requested string. Although the querry yields a positive result, the function returns no value. Here is

Re: [PHP] function returns no value

2008-04-20 Thread Nathan Nobbe
On Sun, Apr 20, 2008 at 4:51 PM, Ali Reza Sajedi [EMAIL PROTECTED] wrote: Hello, with the following call I try to print a string out of DB echo $allg-translate($db, $lang, 14, auth/authCallback, 4); function translate () should do a DB querry and returns the requested string. Although the

Re: [PHP] function returns no value

2008-04-20 Thread Liran Oz
the wrong index (0) Liran - Original Message - From: Ali Reza Sajedi [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Sunday, April 20, 2008 11:51 PM Subject: [PHP] function returns no value Hello, with the following call I try to print a string out of DB echo $allg-translate($db