<?php
/*************************************************************************/
/* ROLLER CMS - ADVANCED PORTAL MANAGEMENT SYSTEM */
/* ============================================ */
/* */
/* Copyright (c) 2005 by Federico Campoli (hide@address.com) */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/*************************************************************************/
include($_SERVER["DOCUMENT_ROOT"].'/common_files/template/main_app_header.inc.php');
if ($data_conn)
{
echo "connessione al database ".pg_dbname($data_conn)." riuscita<br>";
$str_sql="select ".$table_prefix."_update_field('zion_users_info','id_lang',3)";
$query_results=pg_query($data_conn,$str_sql);
$num_rows=pg_num_rows($query_results);
//echo "Numero di righe restituite dalla query: ".$num_rows;
for ($i=1;$i<=$num_rows;$i++)
{
$row=pg_fetch_array($query_results);
echo $row["user_id"];
}
}
include($_SERVER["DOCUMENT_ROOT"].'/common_files/template/main_app_footer.inc.php');
?>