Re: Querying ODBC datasource
| From: | Daniel Convissor | Date: | Tue, 28 Nov 2000 00:30:25 +0000 |
| Subject: | Re: Querying ODBC datasource | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27525@lists.php.net to get a copy of this message | ||
Hi Duane:
> Warning: Array not passed by reference in call to odbc_fetch_into() in
> c:\inetpub\wwwroot\ewebeditpro\php\index.php on line 19 (which is actually
> the line that starts with odbc_fetch_into)
Variables are "passed by reference" by placing an ampersand in front of them.
> odbc_fetch_into(odbc_exec( $dboConnect, $strSQLString ), $qrySQLString );
odbc_fetch_into(odbc_exec( $dboConnect, $strSQLString ), &$qrySQLString );
Also, noticed you left off the "int rownumber" argument.
Enjoy,
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409