DB Query (drupal to wordpress)
Funzione Drupal WordPress Requisito global $wpdb; Query secca $res=db_result(db_query ($q)) ; $res=$wpdb->get_var($q) ; Query generica $res=db_query($q) ; $res=$wpdb->get_results($q,ARRAY_A); Scan risultato query while ($item = db_fetch_array($items))… Leggi tutto »DB Query (drupal to wordpress)