odbc_fetch_into didn't give me the result I expect it to.  When returning
the data, It skipped some columns.  With the register_global turned off.
How do I transform the defined data into an array to be use for
odbc_fetch_into?  I never got it to work right.  I will appreciate any of
the help here.  Never had that problem with global_register turned on.

--clip--
define(CUSTOMER_ID,0);
define(CUSTOMER_NAME,1);
define(STATE,6);

// blah blah blah

  if (odbc_fetch_row($result))
  {
    odbc_fetch_into($result,$user_detail,1);
    {
       echo $user_detail[STATE];
    }
  }
--clip--

I expect the result to give me the state name, not zip code or address
number, etc.

Thanks,
 Scott



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to