C O N O S C E N Z A
web data management
Il nostro è un team che si occupa ormai da piu' di un decennio della risoluzione delle problematiche informatiche, in particolare ci piace poter offrire la nostra competenza in ambito telematico, dalla progettazione su misura della vostra infrastruttura web, alla realizzazione del vostro software e dei vostri portali.
Web

Firebird2 Superserver Query

10/11/2008

    Esempio sintassi per eseguire operazioni su un server db di tipo firebird superserver seconda edizione, usando php

Example fo simple query on firebird superserver db second edition, using php

 

 

<?php
$select = "DELETE FROM anagra  WHERE RECORD = 2";

#or
  $select = "SELECT * FROM anagra  ORDER BY name";

         $connessione = ibase_connect($SERVER_NAME,$USER,$PASSWORD);
         ibase_timefmt("%d-%m-%Y",IBASE_TIMESTAMP);
         $result = ibase_query($connessione,$select);   
while ($row = ibase_fetch_object($result)) {
              echo $row['RECORD']."- ".$row['name'];
                 }
    ?>