On 25 June 2010 14:55, David Stoltz <Dstoltz@xxxxxxx> wrote: > <?php > > include('../includes/mssql.php'); > > hitMSSQL("server","database","username","password","SELECT * FROM > TABLE1"); > > echo $rs->Fields(1); > > ?> You are not catching the result of the hitMSSQL() function. Try ... <?php include('../includes/mssql.php'); $rs = hitMSSQL("server","database","username","password","SELECT * FROM TABLE1"); echo $rs->Fields(1); ?> -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php