for ($con = 0; $con <$i; $con++){
$result=mssql_query("select * from usr_ban where no_con=$var[$con]");
Me marca esto!!!!
Warning: mssql_query() [function.mssql-query]: message: Line 1: Incorrect syntax near '='. (severity 15) in C:\xampplite\htdocs\bank_con.php on line 22
Warning: mssql_query() [function.mssql-query]: Query failed in C:\xampplite\htdocs\bank_con.php on line 22
DEPOSITOSBANCO DIA/MES/AÑO CUENTA INGRESO/EGRESO
Warning: mssql_fetch_array(): supplied argument is not a valid MS SQL-result resource in C:\xampplite\htdocs\bank_con.php on line 26
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'Banamex'. (severity 16) in C:\xampplite\htdocs\bank_con.php on line 22
Warning: mssql_query() [function.mssql-query]: Query failed in C:\xampplite\htdocs\bank_con.php on line 22