Re: [PHP-WIN] odbc/array

2001-02-05 Thread Jello
sorry... new to this. the problem i have is using odbc (mysql can do this but the server i use is only set for odbc at the moment). i have a DB which contains email addresses i can connect to the DB... retrive the data and print the Email addresses to the browser i want to assi

[PHP-WIN] odbc/array

2001-02-04 Thread Jello
i use $Outer=0; while( odbc_fetch_row( $sql_result )){ $Outer++; print ""; for($i=1; $i <= $Fields; $i++){ printf("%s", odbc_result( $sql_result, $i )); } print ""; } which gets and prints the info from my DB how can i assign a variable to each of the fields returned $var1 = row1 data $var2