
28/08/2009, 13:46
|
 | | | Fecha de Ingreso: junio-2009 Ubicación: Fort Lauderdale, FL
Mensajes: 152
Antigüedad: 15 años, 8 meses Puntos: 0 | |
Respuesta: XML para compartir Cita:
shop_product.baseprice
FROM shop_product,shop_category
where shop_product.active=1
AND shop_product.catid=shop_category.catid
ORDER BY shop_category.catid";
$rsDatos = mysql_query ($sQuery)
or die ("Couldn't require data from tables");
$Datos = mysql_fetch_array($rsDatos);
/*************************Abre item********************************************** *******************/
$archivo =$_SERVER['DOCUMENT_ROOT']."/feeds/kmpfurniture_catalog.xml"; /* aqui vamos posicionarnos en la ruta del servidor para poner el documento xml */
$fd = fopen ($archivo, "w"); /* aqui sobreescribimos el documento rss */
Última edición por GXT2; 28/08/2009 a las 13:57 |