|
Variables |
| | $conn = &ADONewConnection("mssql") |
| $conn | debug = 1 |
| | $query = 'select * from products' |
| | $rs = $conn->Execute($query) |
| | $p = $conn->Prepare('insert into products (productname,unitprice,dcreated) values (?,?,?)') |
| $conn | debug = 1 |
| | $p = $conn->Prepare('select * from products where productname like ?') |
| | $arr = $conn->getarray($p,array('V%')) |
| $conn | debug = 1 |
| | $rs = $conn->Execute('select b1 from blobtest where id=1') |
| | $output = "c:\\temp\\test_out-".date('H-i-s').".gif" |
| print Saving file< b > | $output</b > |