[PHP] NULL Problem

2012-04-24 Thread David Stoltz
Here's my code (using MSSQL): $conn = new COM (ADODB.Connection)or die(Cannot start ADO); $conn-open($connStr); $query = SELECT * FROM TABLE WHERE id = .$id; $rs = $conn-execute($query); This code works fine, and I retrieve the values like this: $tmp1 = $rs-fields(column1); $tmp2 =

Re: [PHP] NULL Problem

2012-04-24 Thread Matijn Woudt
On Tue, Apr 24, 2012 at 7:29 PM, David Stoltz dsto...@shh.org wrote: Here's my code (using MSSQL): $conn = new COM (ADODB.Connection)or die(Cannot start ADO); $conn-open($connStr); $query = SELECT * FROM TABLE WHERE id = .$id; $rs = $conn-execute($query); This code works fine, and I

Re: [PHP] NULL Problem

2012-04-24 Thread Serge Fonville
Have you considered the PHP MSSQL driver? http://www.microsoft.com/download/en/details.aspx?id=20098 Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Google!! They need to add GAL support on Android (star to agree)

RE: [PHP] NULL Problem

2012-04-24 Thread David Stoltz
Subject: Re: [PHP] NULL Problem On Tue, Apr 24, 2012 at 7:29 PM, David Stoltz dsto...@shh.org wrote: Here's my code (using MSSQL): $conn = new COM (ADODB.Connection)or die(Cannot start ADO); $conn-open($connStr); $query = SELECT * FROM TABLE WHERE id = .$id; $rs = $conn-execute($query

RE: [PHP] NULL Problem

2012-04-24 Thread David Stoltz
Woudt Cc: David Stoltz; php-general@lists.php.net Subject: Re: [PHP] NULL Problem Have you considered the PHP MSSQL driver? http://www.microsoft.com/download/en/details.aspx?id=20098 Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Google!! They need