[PHP ODBC] euh? Hoe moet dat??

Pagina: 1
Acties:

  • Guillome
  • Registratie: Januari 2001
  • Niet online
Hoi
Ik heb deze code:
code:
1
2
3
4
5
6
7
<?php
  $result = odbc_connect("sleutel", "", "");
?>
<html>
<head>
<title>Telefoonlijst</title>
....

Maar dan krijg ik
code:
1
Warning: SQL error: [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded, SQL state IM002 in SQLConnect in /home/httpd/intranet/intranet/telefoonlijst/telefoonlijst.php on line 4

Hoe kan dat?
Ik heb wel bij Control Pannel => ODBC een system DSN aangemaakt.
Namen kloppen.
Hoe kan dat?

If then else matters! - I5 12600KF, Asus Tuf GT501, Gigabyte Gaming OC 16G 5080 RTX, Asus Tuf Gaming H670 Pro, 48GB, Corsair RM850X PSU, SN850 1TB, Arctic Liquid Freezer 280, ASUS RT-AX1800U router


  • Grum
  • Registratie: Juni 2001
  • Niet online
http://php.net/odbc-connect en neem ook eventjes de usernotes door :)

  • Guillome
  • Registratie: Januari 2001
  • Niet online
Werkt allemaal niet :(
De DSN staat op mijn eigen PC ( NT4 ws. )
Ehh systemDSN naam is sleutel.
Wat kan ik meer vertellen?
IODBC erbij gecompileerd ( draait op Linux )

If then else matters! - I5 12600KF, Asus Tuf GT501, Gigabyte Gaming OC 16G 5080 RTX, Asus Tuf Gaming H670 Pro, 48GB, Corsair RM850X PSU, SN850 1TB, Arctic Liquid Freezer 280, ASUS RT-AX1800U router


  • Guillome
  • Registratie: Januari 2001
  • Niet online
allo?

If then else matters! - I5 12600KF, Asus Tuf GT501, Gigabyte Gaming OC 16G 5080 RTX, Asus Tuf Gaming H670 Pro, 48GB, Corsair RM850X PSU, SN850 1TB, Arctic Liquid Freezer 280, ASUS RT-AX1800U router