php3-list | 2000051

RE: [PHP3] Running Stored Procs From: A Robertson (elite2000 <email protected>)
Date: 05/05/00

Hi,

Its been a while but from memory you just exec the procedure by name and
pass the parameters in brackets, eg

$res = mssql_query("mystoredprocedure ('foo','bar')",$conn);

Adam Robertson
==============
Web Application Developer
http://www.elitemedia.co.uk

>-----Original Message-----
>From: Kevin Obbayi [mailto:kobbayi <email protected>]
>Sent: 05 May 2000 19:13
>To: php3 <email protected>
>Subject: [PHP3] Running Stored Procs
>
>
> I want to use PHP to connect to a SQL Server 7 database and run stored
>procedures. I can connect to the database no problem, BUT I don't know how
>to run a query that calls a stored proc. Can anyone point me in the right
>direction?
>
>thanks
>
>--
>PHP 3 Mailing List <http://www.php.net/>
>To unsubscribe, send an empty message to php3-unsubscribe <email protected>
>To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
>To search the mailing list archive, go to:
>http://www.php.net/mailsearch.php3
>To contact the list administrators, e-mail: php-list-admin <email protected>
>
>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>