Libania Paes
Libania Paes

Reputation: 53

PHP + MSSQL : Could not find stored procedure - but it is there

Here is my code on PHP:

$stmt = mssql_init('postget', $conn);
mssql_bind($stmt,'@IDPost',$IDPOST,SQLINT4);

if ($result = mssql_execute($stmt)) {
    while ($row = mssql_fetch_assoc($result)){
        echo $row["Content"];
    }
}

I'm recieving the error: Could not find stored procedure 'postget'.

The procedure is there, the connection is ok and the init returns a resource...

What am I doing wrong? Can someone help? Thanks in advance!

Upvotes: 1

Views: 197

Answers (0)

Related Questions