ACIL FM
Dark
Refresh
Current DIR:
/usr/share/doc/freetds-libs/samples-odbc
/
usr
share
doc
freetds-libs
samples-odbc
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
odbc.ini
304 B
chmod
View
DL
Edit
Rename
Delete
odbctest.php
552 B
chmod
View
DL
Edit
Rename
Delete
odbctest.pl
522 B
chmod
View
DL
Edit
Rename
Delete
unixodbc.freetds.driver.template-64
1.02 MB
chmod
View
DL
Edit
Rename
Delete
unixodbc.install.sh
1.38 MB
chmod
View
DL
Edit
Rename
Delete
unixodbc.jdbc.datasource.template
1.02 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/share/doc/freetds-libs/samples-odbc/odbctest.php
<? // connect to a DSN "mydb" with a user and password "marin" $connect = odbc_connect("JDBC", "guest", "sybase"); // query the users table for name and surname $query = "SELECT * from sysusers"; // perform the query $result = odbc_exec($connect, $query); // fetch the data from the database while(odbc_fetch_row($result)){ $suid = odbc_result($result, 1); $uid = odbc_result($result, 2); $gid = odbc_result($result, 3); $name = odbc_result($result, 4); print("$name|$suid|$uid|$gid\n"); } // close the connection odbc_close($connect); ?>
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply