Re: [PHP-WIN] odbc/array

2001-02-05 Thread Jello
dbc_free_result($sql_result); odbc_close($connect); ?> this just prints the results and there is where i get stuck... how do i add an increasing variable to each address any help or pointers welcome Jello ""Jello"" <[EMAIL PROTECTED]> wrote in message 95jfbl$6

[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