Re: SQL server procedore how to

From: Date: Sun, 23 Feb 2003 12:51:28 +0000
Subject: Re: SQL server procedore how to
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-25859@lists.php.net to get a copy of this message
You need to ue mssql_fetch_*() to actually put the data into an array. --- Noam Giladi <noam@i-com-it.com> wrote: > i have a aprocedure "simple_proc" > i try to call her with mssql_query like this: > > ---------------------------------------------------------------- > $q="exec simple_proc"; > $ret = mssql_query($q,$__["db connection"]); > ---------------------------------------------------------------- > > the result i get is: > > --------------------------------------------------------------- > Resource id #20 > -------------------------------------------------------------- > insted of getting the resulets the proc is returning > what should i do?? > tnx noam. > > by the way ,if i use the sql server "Query Analyzer", i'm getting > the wanted > results > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ===== Mark Weinstock mark_weinstock@yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/

« previous php.db (#25859) next »