MSSQL and print statements

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
xaccto
Forum Newbie
Posts: 2
Joined: Mon Jun 16, 2008 7:59 pm

MSSQL and print statements

Post by xaccto »

a stored procedure is returning some results as many lines of print statements,

how can php retrieve these print statements ?

$msg = mssql_get_last_message();

does return the LAST line of the print statements...just need all the prior ones also

Any way to do this?
xaccto
Forum Newbie
Posts: 2
Joined: Mon Jun 16, 2008 7:59 pm

Re: MSSQL and print statements

Post by xaccto »

Thanks everyone.
i'll answer it myself,

seems the answer is with this
http://au.php.net/manual/en/function.se ... andler.php
Post Reply