0) $sql_query .= ",$param[$i]"; $i++; } $sql_query .= " from $table"; if ($where != "") { $sql_query .= " where $where"; } else { $sql_query .= " where 1"; for ($i=0;$i") $cmp=""; } $sql_query .= " and $names[$i] $cmp $quot$fields[$i]$quot"; } } } if (empty($sessionMaxRows)) { include("config.inc.php3"); $sessionMaxRows = $cfgMaxRows; } Header("Location:sql.php3?sql_query=".urlencode($sql_query)."&goto=db_details.php3&server=$server&lang=$lang&db=$db&table=$table&pos=0&sessionMaxRows=$sessionMaxRows"); } ?>