Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    SQL error con DB Merant Progress

    Ho questo errore:

    Warning: SQL error: Impossibile caricare il driver specificato. Errore di sistema 126 (MERANT 3.60 32-BIT Progress SQL92 v9.1D)., SQL state IM003 in SQLConnect in c:\programmi\apache group\apache\test\trasf.php on line 17

    Questo è il codice:

    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body bgcolor="#FFFFFF">
    <table width="75%" border="1" cellspacing="1" cellpadding="1" bgcolor="#FFFFFF">
    <tr bgcolor="#CCFFFF">
    <td height="22">First Name</td>
    <td height="22">Last Name</td>
    <td height="22">Telephone</td>
    </tr>

    <?php

    //connect to the database
    $connectionstring = odbc_connect("cmc", "root", "root");

    //SQL query
    $Query = "SELECT * FROM PUB.muni";

    //execute query
    $queryexe = odbc_do($connectionstring, $Query);

    //query database
    while(odbc_fetch_row($queryexe))
    {
    echo "<tr>";
    echo "<td>".odbc_result($queryexe, 1)."</td>";
    echo "<td>".odbc_result($queryexe, 2)."</td>";
    echo "<td>".odbc_result($queryexe, 3)."</td>";
    echo "</tr>";
    }


    //disconnect from database
    odbc_close($connectionstring);

    ?>


    </table>
    </body>
    </html>

    Non ho trovato soluzioni.
    Qualcuno può aiutarmi?
    Grazie

  2. #2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.