i have php script with Microsoft database.
im trying to bind SQLSRV_SQLTYPE_NVARCHAR('max')
but im getting error Fatal error: Unknown PDO::PARAM_* constant given
here is my code
$stmt = $con->prepare('insert into [feedtable] (title,link,pubdata,description,category,image,imagelink,source) values (:title,:link,:pubdata,:description,:category,:image,:imagelink,:source)');
$stmt->bindParam(':title',$item->title,SQLSRV_SQLTYPE_NVARCHAR('max'));
$stmt->execute();