Re: [PHP] odbc_**** failing?
David: On Wed, Jul 03, 2002 at 02:19:28PM -0700, David Busby wrote: > > $rs = odbc_exec($db, "spGetItems"); Uh, what is "spGetItems?" The second argument of odbc_exec() is supposed to be a query string. That doesn't look like a query string. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] odbc_**** failing?
List, The following code is erroring for me and I can't figure out why $db = odbc_connect("something", "something", "passwd"); printf("%s", $db); // Prints ID 1 // Hangs here it looks like $rs = odbc_exec($db, "spGetItems"); // Never gets here while(odbc_fetch_row($rs)) { printf("%s", odbc_result($rs, 2)); } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php