I want to invoke a mssql procedure via php
$link = mssql_connect($this->serverName, $this->user, $this->password);
mssql_select_db($this->db);
// Create a new statement
$stmt = mssql_init($this->owner . '.buf_ins_pilot', $link);
// Bind values here
// (polaczenie, nazwa, wartosc, typ, output, null)
mssql_bind($stmt, "@ach_kod_systemu", "", SQLVARCHAR);
And I get
Fatal error: Only variables can be passed by reference
It`s on line with mssql_bind. I'm looking whole day solution for that and I don't know what am I doing wrong. It's almoust copy/paste from php manual