|
本帖最后由 newester 于 2009-6-28 19:36 编辑
代码都运行正常,代码如下:
...................................................................
$oTable = _IETableGetCollection ($oIE, 0)
$oTableData = _IETableWriteToArray ($oTable, True)
$rows = UBound($oTableData)
For $ii = 1 to $rows-1
;MsgBox(0, "Table Data:", $oTableData[$ii][0]&" "&$oTableData[$ii][1]&" "&$oTableData[$ii][2]&" "&$oTableData[$ii][3]&" "&$oTableData[$ii][4])
$aData = $oTableData[$ii][0]
$bData = $oTableData[$ii][1]
$cData = $oTableData[$ii][2]
$dData = $oTableData[$ii][3]
$eData = $oTableData[$ii][4]
$insert = 'INSERT INTO autoitx (col1,col2,col3,col4,col5,col6,col7,col8) VALUE ('&$aData&','&$bData&','&$cData&','&$dData&','&$eData&', "测试", "测试", "测试")'
_MySQL_Real_Query($MysqlConn, $insert)
................................................................... over |
|