Ver Mensaje Individual
  #9 (permalink)  
Antiguo 17/04/2008, 14:56
daniguillamon
 
Fecha de Ingreso: febrero-2006
Ubicación: Cartagena (Murcia)
Mensajes: 34
Antigüedad: 18 años, 3 meses
Puntos: 0
Re: Consultar varias bases de datos para una sola web

Simplemente eso? y si por ejemplo yo tengo el código que he dicho antes...

<?php
$NewsSections = FetchSections('sp_news_sections');
$NewsQuery = $db->Execute("SELECT id,title,date,section FROM `sp_news` ORDER BY `id` DESC LIMIT 6");
while ($NewsRow = $NewsQuery->FetchNextObject()) {
$bgcolor = ($bgcolor == "#FFFFFF" ? "#E9E9E9" : "#FFFFFF");
?>


no haría falta editar nada más?