my experience in the past is just: $SQL = "sp_runthis $param1, $param2, $param3"; $RES = mysql_query($SQL); may have to prefix with exec like you mentioned... change sp_runthis to your procedure name... probably still works the same.. On Wed, 16 Jul 2003, Stephen March wrote: > Anybody have code that WORKS (hehe) for executing a MS-SQL stored > proceedure through PHP? > exec viewFacilities() > > > Thanks in advance! > ~Steve > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php