1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18:
//// CLOSE public void MySqlDisconnection() { if (OdbcCon.State == ConnectionState.Open) { OdbcCon.Close(); } } //// DISPOSE public void MySqlDisconnection() { if (OdbcCon.State == ConnectionState.Open) { OdbcCon.Close(); } }
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11:
What if you change while ($row = mysql_fetch_array($result)) { $reserved_dates[]=$row; } to while ($row = mysql_fetch_array($result)) { $reserved_dates[]=$row[0]; }