Re: [PHP] mssql_bind question

2012-04-09 Thread David OBrien
On Mon, Apr 9, 2012 at 1:42 PM, David Stoltz wrote: > Folks, > > Having a difficult time using mssql_bind with characters greater than > 8000...the database field is set to ntext, and I've also tried > varchar(max), both seem to produce the same results: > > If I use: > mssql_bind($stmt, '@mgrnot

[PHP] mssql_bind question

2012-04-09 Thread David Stoltz
Folks, Having a difficult time using mssql_bind with characters greater than 8000...the database field is set to ntext, and I've also tried varchar(max), both seem to produce the same results: If I use: mssql_bind($stmt, '@mgrnotes',$mgrnotes,SQLVARCHAR,false,false,8000); I get the error: Warnin

[PHP] mssql_bind Question

2009-08-19 Thread David Stoltz
Code in question: mssql_bind($stmt, '@managerName',$managerName,SQLVARCHAR,false,false,50); For a normal varchar field, the length is obvious, in this case 50. But for an ntext field, how do I use the mssql_bind statement? Far as I know, these are the only available "types" to use: SQLTEXT, SQLV