$idc = '8';
// connection and all that...
//This works
$result = mssql_query("exec sp_query_manhdr01");
/* this doesnt work
* error being returned on screen
*
* Warning: mssql_fetch_row(): supplied argument is not a valid MS SQL-result resource
* in /usr/local/apache/htdocs/user/members/1.php on line 15
*/
$result = mssql_query("exec sp_query_manhdr01") . $idc;
while (list($fecha_envio, $hora_envio, $fecha_inicioi, $guia_madre) = mssql_fetch_row($result)) {
echo " \n";
?>
Last edited by ol4pr0 on Thu Apr 15, 2004 1:11 pm, edited 1 time in total.
$idc needs to be changed in to something else which is being fetch according to the users login and all that.. lots of checks before getting to that part.